<?xml version="1.0"?>
<xs:schema xmlns:tns="www.edifabric.com/x12" elementFormDefault="qualified" targetNamespace="www.edifabric.com/x12" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="M_810">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Invoice" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="tns:S_ST">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Transaction Set Header" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element ref="tns:S_BIG">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Beginning Segment for Invoice" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="100" ref="tns:S_NTE">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Note/Special Instruction" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_CUR">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Currency" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="12" ref="tns:S_REF">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="3" ref="tns:S_PER">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="200" ref="tns:G_N1">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Loop for Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="5" ref="tns:S_ITD">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Terms of Sale/Deferred Terms of Sale" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_DTM">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Date/Time Reference" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_FOB">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="F.O.B. Related Instructions" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="200" ref="tns:S_PID">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Product/Item Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="40" ref="tns:S_MEA">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Measurements" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="25" ref="tns:S_PWK">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Paperwork" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="25" ref="tns:S_PKG">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Marking, Packaging, Loading" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_L7">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Tariff Reference" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="200000" ref="tns:G_IT1">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Loop for Baseline Item Data (Invoice)" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element ref="tns:S_TDS">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Total Monetary Value Summary" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_TXI_3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_CAD_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Carrier Detail" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:G_ITA_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Loop for Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="5" ref="tns:S_ISS">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Invoice Shipment Summary" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element ref="tns:S_CTT">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Transaction Totals" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_SE">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Transaction Set Trailer" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_ST">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Transaction Set Header" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_143_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transaction Set Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="3" />
              <xs:maxLength value="3" />
              <xs:enumeration value="810" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_329_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transaction Set Control Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_1705_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Implementation Convention Preference" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_BIG">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Beginning Segment for Invoice" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_245_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Invoice Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_76_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Invoice Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="22" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_323_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Purchase Order Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_324_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Purchase Order Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="22" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_328_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Release Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_327_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Change Order Sequence Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_640_7" type="tns:X12_ID_640">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transaction Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_640">
    <xs:restriction base="xs:string">
      <xs:enumeration value="BA" />
      <xs:enumeration value="BB" />
      <xs:enumeration value="BH" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="DU" />
      <xs:enumeration value="EB" />
      <xs:enumeration value="EF" />
      <xs:enumeration value="EI" />
      <xs:enumeration value="ER" />
      <xs:enumeration value="FB" />
      <xs:enumeration value="IB" />
      <xs:enumeration value="IF" />
      <xs:enumeration value="IR" />
      <xs:enumeration value="IU" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="ME" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="MM" />
      <xs:enumeration value="MR" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="RA" />
      <xs:enumeration value="RB" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="UF" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_NTE">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Note/Special Instruction" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_363_1" type="tns:X12_ID_363">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Note Reference Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_3_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Free Form Message" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="60" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_363">
    <xs:restriction base="xs:string">
      <xs:enumeration value="ALL" />
      <xs:enumeration value="BOL" />
      <xs:enumeration value="CHG" />
      <xs:enumeration value="CUS" />
      <xs:enumeration value="DEL" />
      <xs:enumeration value="GEN" />
      <xs:enumeration value="INS" />
      <xs:enumeration value="INT" />
      <xs:enumeration value="INV" />
      <xs:enumeration value="LAB" />
      <xs:enumeration value="LIN" />
      <xs:enumeration value="LOI" />
      <xs:enumeration value="MFG" />
      <xs:enumeration value="ORI" />
      <xs:enumeration value="OTH" />
      <xs:enumeration value="PAY" />
      <xs:enumeration value="PKG" />
      <xs:enumeration value="PMT" />
      <xs:enumeration value="PRI" />
      <xs:enumeration value="PUR" />
      <xs:enumeration value="QUT" />
      <xs:enumeration value="REV" />
      <xs:enumeration value="SPH" />
      <xs:enumeration value="TAF" />
      <xs:enumeration value="TCF" />
      <xs:enumeration value="TIL" />
      <xs:enumeration value="TLF" />
      <xs:enumeration value="TRA" />
      <xs:enumeration value="TRF" />
      <xs:enumeration value="TSF" />
      <xs:enumeration value="WHI" />
      <xs:enumeration value="WRP" />
      <xs:enumeration value="ZZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_CUR">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Currency" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_98_1" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_100_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Currency Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_280_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Exchange Rate" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_98_4" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_100_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Currency Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_669_6" type="tns:X12_ID_669">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Currency Market/Exchange Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_7" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_10" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_13" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_14">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_15">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_16" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_17">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_18">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_19" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_20">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_21">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_98">
    <xs:restriction base="xs:string">
      <xs:enumeration value="11" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AD" />
      <xs:enumeration value="AG" />
      <xs:enumeration value="AK" />
      <xs:enumeration value="AL" />
      <xs:enumeration value="AO" />
      <xs:enumeration value="BF" />
      <xs:enumeration value="BG" />
      <xs:enumeration value="BK" />
      <xs:enumeration value="BL" />
      <xs:enumeration value="BN" />
      <xs:enumeration value="BO" />
      <xs:enumeration value="BS" />
      <xs:enumeration value="BT" />
      <xs:enumeration value="BW" />
      <xs:enumeration value="BY" />
      <xs:enumeration value="C1" />
      <xs:enumeration value="C2" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CB" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CF" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CL" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CV" />
      <xs:enumeration value="DB" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DL" />
      <xs:enumeration value="DP" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="EC" />
      <xs:enumeration value="EE" />
      <xs:enumeration value="EM" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="EP" />
      <xs:enumeration value="EX" />
      <xs:enumeration value="FH" />
      <xs:enumeration value="FR" />
      <xs:enumeration value="FW" />
      <xs:enumeration value="IA" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="II" />
      <xs:enumeration value="IK" />
      <xs:enumeration value="IM" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="LN" />
      <xs:enumeration value="LP" />
      <xs:enumeration value="MA" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="MP" />
      <xs:enumeration value="MQ" />
      <xs:enumeration value="N1" />
      <xs:enumeration value="N2" />
      <xs:enumeration value="OB" />
      <xs:enumeration value="OC" />
      <xs:enumeration value="OI" />
      <xs:enumeration value="OO" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="OT" />
      <xs:enumeration value="OV" />
      <xs:enumeration value="OW" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PF" />
      <xs:enumeration value="PG" />
      <xs:enumeration value="PH" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PJ" />
      <xs:enumeration value="PK" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PN" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="PU" />
      <xs:enumeration value="PV" />
      <xs:enumeration value="RB" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="RL" />
      <xs:enumeration value="RM" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="RQ" />
      <xs:enumeration value="RR" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="SB" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SF" />
      <xs:enumeration value="SG" />
      <xs:enumeration value="SH" />
      <xs:enumeration value="SI" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SO" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="SW" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TF" />
      <xs:enumeration value="TO" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="TS" />
      <xs:enumeration value="TT" />
      <xs:enumeration value="UC" />
      <xs:enumeration value="UP" />
      <xs:enumeration value="VN" />
      <xs:enumeration value="WF" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_669">
    <xs:restriction base="xs:string">
      <xs:enumeration value="IMF" />
      <xs:enumeration value="LNF" />
      <xs:enumeration value="LNS" />
      <xs:enumeration value="NYC" />
      <xs:enumeration value="PHI" />
      <xs:enumeration value="ZUR" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_374">
    <xs:restriction base="xs:string">
      <xs:enumeration value="001" />
      <xs:enumeration value="002" />
      <xs:enumeration value="003" />
      <xs:enumeration value="004" />
      <xs:enumeration value="005" />
      <xs:enumeration value="006" />
      <xs:enumeration value="007" />
      <xs:enumeration value="008" />
      <xs:enumeration value="009" />
      <xs:enumeration value="010" />
      <xs:enumeration value="011" />
      <xs:enumeration value="012" />
      <xs:enumeration value="013" />
      <xs:enumeration value="014" />
      <xs:enumeration value="015" />
      <xs:enumeration value="016" />
      <xs:enumeration value="017" />
      <xs:enumeration value="018" />
      <xs:enumeration value="019" />
      <xs:enumeration value="020" />
      <xs:enumeration value="021" />
      <xs:enumeration value="022" />
      <xs:enumeration value="023" />
      <xs:enumeration value="024" />
      <xs:enumeration value="025" />
      <xs:enumeration value="026" />
      <xs:enumeration value="027" />
      <xs:enumeration value="028" />
      <xs:enumeration value="029" />
      <xs:enumeration value="030" />
      <xs:enumeration value="031" />
      <xs:enumeration value="032" />
      <xs:enumeration value="033" />
      <xs:enumeration value="034" />
      <xs:enumeration value="035" />
      <xs:enumeration value="036" />
      <xs:enumeration value="037" />
      <xs:enumeration value="038" />
      <xs:enumeration value="039" />
      <xs:enumeration value="040" />
      <xs:enumeration value="041" />
      <xs:enumeration value="042" />
      <xs:enumeration value="043" />
      <xs:enumeration value="050" />
      <xs:enumeration value="051" />
      <xs:enumeration value="052" />
      <xs:enumeration value="053" />
      <xs:enumeration value="054" />
      <xs:enumeration value="055" />
      <xs:enumeration value="056" />
      <xs:enumeration value="057" />
      <xs:enumeration value="058" />
      <xs:enumeration value="059" />
      <xs:enumeration value="060" />
      <xs:enumeration value="061" />
      <xs:enumeration value="062" />
      <xs:enumeration value="063" />
      <xs:enumeration value="064" />
      <xs:enumeration value="065" />
      <xs:enumeration value="066" />
      <xs:enumeration value="067" />
      <xs:enumeration value="068" />
      <xs:enumeration value="069" />
      <xs:enumeration value="070" />
      <xs:enumeration value="071" />
      <xs:enumeration value="072" />
      <xs:enumeration value="073" />
      <xs:enumeration value="074" />
      <xs:enumeration value="075" />
      <xs:enumeration value="076" />
      <xs:enumeration value="077" />
      <xs:enumeration value="078" />
      <xs:enumeration value="079" />
      <xs:enumeration value="080" />
      <xs:enumeration value="081" />
      <xs:enumeration value="082" />
      <xs:enumeration value="083" />
      <xs:enumeration value="084" />
      <xs:enumeration value="085" />
      <xs:enumeration value="086" />
      <xs:enumeration value="087" />
      <xs:enumeration value="088" />
      <xs:enumeration value="089" />
      <xs:enumeration value="090" />
      <xs:enumeration value="091" />
      <xs:enumeration value="092" />
      <xs:enumeration value="093" />
      <xs:enumeration value="094" />
      <xs:enumeration value="095" />
      <xs:enumeration value="096" />
      <xs:enumeration value="097" />
      <xs:enumeration value="098" />
      <xs:enumeration value="099" />
      <xs:enumeration value="100" />
      <xs:enumeration value="101" />
      <xs:enumeration value="102" />
      <xs:enumeration value="103" />
      <xs:enumeration value="104" />
      <xs:enumeration value="105" />
      <xs:enumeration value="106" />
      <xs:enumeration value="107" />
      <xs:enumeration value="108" />
      <xs:enumeration value="109" />
      <xs:enumeration value="110" />
      <xs:enumeration value="111" />
      <xs:enumeration value="112" />
      <xs:enumeration value="113" />
      <xs:enumeration value="114" />
      <xs:enumeration value="115" />
      <xs:enumeration value="116" />
      <xs:enumeration value="119" />
      <xs:enumeration value="120" />
      <xs:enumeration value="121" />
      <xs:enumeration value="122" />
      <xs:enumeration value="124" />
      <xs:enumeration value="125" />
      <xs:enumeration value="126" />
      <xs:enumeration value="127" />
      <xs:enumeration value="128" />
      <xs:enumeration value="129" />
      <xs:enumeration value="130" />
      <xs:enumeration value="131" />
      <xs:enumeration value="132" />
      <xs:enumeration value="133" />
      <xs:enumeration value="134" />
      <xs:enumeration value="135" />
      <xs:enumeration value="136" />
      <xs:enumeration value="137" />
      <xs:enumeration value="138" />
      <xs:enumeration value="150" />
      <xs:enumeration value="151" />
      <xs:enumeration value="152" />
      <xs:enumeration value="153" />
      <xs:enumeration value="154" />
      <xs:enumeration value="155" />
      <xs:enumeration value="156" />
      <xs:enumeration value="157" />
      <xs:enumeration value="158" />
      <xs:enumeration value="159" />
      <xs:enumeration value="160" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_REF">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_128_1" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_127_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_128">
    <xs:restriction base="xs:string">
      <xs:enumeration value="52" />
      <xs:enumeration value="53" />
      <xs:enumeration value="54" />
      <xs:enumeration value="61" />
      <xs:enumeration value="62" />
      <xs:enumeration value="63" />
      <xs:enumeration value="64" />
      <xs:enumeration value="A1" />
      <xs:enumeration value="AA" />
      <xs:enumeration value="AB" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AD" />
      <xs:enumeration value="AE" />
      <xs:enumeration value="AF" />
      <xs:enumeration value="AG" />
      <xs:enumeration value="AI" />
      <xs:enumeration value="AL" />
      <xs:enumeration value="AM" />
      <xs:enumeration value="AN" />
      <xs:enumeration value="AO" />
      <xs:enumeration value="AP" />
      <xs:enumeration value="AR" />
      <xs:enumeration value="AS" />
      <xs:enumeration value="AT" />
      <xs:enumeration value="AU" />
      <xs:enumeration value="AW" />
      <xs:enumeration value="BC" />
      <xs:enumeration value="BD" />
      <xs:enumeration value="BI" />
      <xs:enumeration value="BJ" />
      <xs:enumeration value="BK" />
      <xs:enumeration value="BL" />
      <xs:enumeration value="BM" />
      <xs:enumeration value="BN" />
      <xs:enumeration value="BO" />
      <xs:enumeration value="BR" />
      <xs:enumeration value="BT" />
      <xs:enumeration value="BU" />
      <xs:enumeration value="C1" />
      <xs:enumeration value="C2" />
      <xs:enumeration value="C3" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CB" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CF" />
      <xs:enumeration value="CG" />
      <xs:enumeration value="CH" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CJ" />
      <xs:enumeration value="CK" />
      <xs:enumeration value="CL" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CQ" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="CU" />
      <xs:enumeration value="CX" />
      <xs:enumeration value="CY" />
      <xs:enumeration value="DB" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DD" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DF" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="DK" />
      <xs:enumeration value="DL" />
      <xs:enumeration value="DN" />
      <xs:enumeration value="DO" />
      <xs:enumeration value="DP" />
      <xs:enumeration value="DQ" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="DV" />
      <xs:enumeration value="DW" />
      <xs:enumeration value="EB" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="EI" />
      <xs:enumeration value="EL" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="EP" />
      <xs:enumeration value="EQ" />
      <xs:enumeration value="ER" />
      <xs:enumeration value="ES" />
      <xs:enumeration value="ET" />
      <xs:enumeration value="EU" />
      <xs:enumeration value="EZ" />
      <xs:enumeration value="FA" />
      <xs:enumeration value="FC" />
      <xs:enumeration value="FE" />
      <xs:enumeration value="FI" />
      <xs:enumeration value="FN" />
      <xs:enumeration value="FP" />
      <xs:enumeration value="FR" />
      <xs:enumeration value="FS" />
      <xs:enumeration value="FT" />
      <xs:enumeration value="GB" />
      <xs:enumeration value="GC" />
      <xs:enumeration value="GE" />
      <xs:enumeration value="GG" />
      <xs:enumeration value="GP" />
      <xs:enumeration value="GR" />
      <xs:enumeration value="GS" />
      <xs:enumeration value="HB" />
      <xs:enumeration value="HC" />
      <xs:enumeration value="HD" />
      <xs:enumeration value="HE" />
      <xs:enumeration value="HN" />
      <xs:enumeration value="HO" />
      <xs:enumeration value="HP" />
      <xs:enumeration value="HS" />
      <xs:enumeration value="HW" />
      <xs:enumeration value="IA" />
      <xs:enumeration value="IB" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="ID" />
      <xs:enumeration value="IE" />
      <xs:enumeration value="II" />
      <xs:enumeration value="IL" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IO" />
      <xs:enumeration value="IR" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="IV" />
      <xs:enumeration value="JA" />
      <xs:enumeration value="JB" />
      <xs:enumeration value="JE" />
      <xs:enumeration value="JS" />
      <xs:enumeration value="KB" />
      <xs:enumeration value="KE" />
      <xs:enumeration value="LA" />
      <xs:enumeration value="LB" />
      <xs:enumeration value="LC" />
      <xs:enumeration value="LF" />
      <xs:enumeration value="LI" />
      <xs:enumeration value="LM" />
      <xs:enumeration value="LN" />
      <xs:enumeration value="LO" />
      <xs:enumeration value="LP" />
      <xs:enumeration value="LS" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="LW" />
      <xs:enumeration value="MA" />
      <xs:enumeration value="MB" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="ME" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="MG" />
      <xs:enumeration value="MH" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="MK" />
      <xs:enumeration value="MN" />
      <xs:enumeration value="MP" />
      <xs:enumeration value="MR" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="MT" />
      <xs:enumeration value="MY" />
      <xs:enumeration value="NA" />
      <xs:enumeration value="NB" />
      <xs:enumeration value="ND" />
      <xs:enumeration value="NN" />
      <xs:enumeration value="NP" />
      <xs:enumeration value="NR" />
      <xs:enumeration value="NS" />
      <xs:enumeration value="OB" />
      <xs:enumeration value="OC" />
      <xs:enumeration value="OI" />
      <xs:enumeration value="OM" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="OS" />
      <xs:enumeration value="P1" />
      <xs:enumeration value="P2" />
      <xs:enumeration value="P3" />
      <xs:enumeration value="P4" />
      <xs:enumeration value="P5" />
      <xs:enumeration value="P6" />
      <xs:enumeration value="P7" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PF" />
      <xs:enumeration value="PG" />
      <xs:enumeration value="PH" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PJ" />
      <xs:enumeration value="PK" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PN" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PQ" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="PV" />
      <xs:enumeration value="PW" />
      <xs:enumeration value="PX" />
      <xs:enumeration value="PY" />
      <xs:enumeration value="PZ" />
      <xs:enumeration value="QR" />
      <xs:enumeration value="RB" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="RG" />
      <xs:enumeration value="RH" />
      <xs:enumeration value="RI" />
      <xs:enumeration value="RJ" />
      <xs:enumeration value="RK" />
      <xs:enumeration value="RL" />
      <xs:enumeration value="RM" />
      <xs:enumeration value="RN" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="RQ" />
      <xs:enumeration value="RR" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="RT" />
      <xs:enumeration value="RU" />
      <xs:enumeration value="RV" />
      <xs:enumeration value="RW" />
      <xs:enumeration value="RX" />
      <xs:enumeration value="RY" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="SB" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SF" />
      <xs:enumeration value="SH" />
      <xs:enumeration value="SI" />
      <xs:enumeration value="SJ" />
      <xs:enumeration value="SK" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SO" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="SQ" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="SV" />
      <xs:enumeration value="SW" />
      <xs:enumeration value="SX" />
      <xs:enumeration value="SY" />
      <xs:enumeration value="TA" />
      <xs:enumeration value="TB" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TF" />
      <xs:enumeration value="TG" />
      <xs:enumeration value="TH" />
      <xs:enumeration value="TI" />
      <xs:enumeration value="TK" />
      <xs:enumeration value="TL" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TN" />
      <xs:enumeration value="TO" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="TS" />
      <xs:enumeration value="TX" />
      <xs:enumeration value="UB" />
      <xs:enumeration value="UD" />
      <xs:enumeration value="UG" />
      <xs:enumeration value="UN" />
      <xs:enumeration value="US" />
      <xs:enumeration value="UT" />
      <xs:enumeration value="VA" />
      <xs:enumeration value="VB" />
      <xs:enumeration value="VC" />
      <xs:enumeration value="VM" />
      <xs:enumeration value="VN" />
      <xs:enumeration value="VP" />
      <xs:enumeration value="VR" />
      <xs:enumeration value="VS" />
      <xs:enumeration value="VT" />
      <xs:enumeration value="VV" />
      <xs:enumeration value="VX" />
      <xs:enumeration value="WM" />
      <xs:enumeration value="WN" />
      <xs:enumeration value="WR" />
      <xs:enumeration value="WS" />
      <xs:enumeration value="WY" />
      <xs:enumeration value="XC" />
      <xs:enumeration value="XP" />
      <xs:enumeration value="ZA" />
      <xs:enumeration value="ZB" />
      <xs:enumeration value="ZC" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_PER">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_366_1" type="tns:X12_ID_366">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Contact Function Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_365_3" type="tns:X12_ID_365">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_364_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="7" />
              <xs:maxLength value="21" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_366">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AC" />
      <xs:enumeration value="AD" />
      <xs:enumeration value="AP" />
      <xs:enumeration value="AR" />
      <xs:enumeration value="BD" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CB" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="CW" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="EB" />
      <xs:enumeration value="EC" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="EF" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="EX" />
      <xs:enumeration value="HM" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="IO" />
      <xs:enumeration value="NP" />
      <xs:enumeration value="NT" />
      <xs:enumeration value="OC" />
      <xs:enumeration value="OD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="QA" />
      <xs:enumeration value="QC" />
      <xs:enumeration value="QI" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="TA" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_365">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AU" />
      <xs:enumeration value="EM" />
      <xs:enumeration value="FT" />
      <xs:enumeration value="FX" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TL" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TX" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="G_N1">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Loop for Name" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tns:S_N1">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="2" ref="tns:S_N2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Additional Name Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="2" ref="tns:S_N3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_N4">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Geographic Location" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="12" ref="tns:S_REF_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="3" ref="tns:S_PER_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N1">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_98_1" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_66_3" type="tns:X12_ID_66">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_66">
    <xs:restriction base="xs:string">
      <xs:enumeration value="1" />
      <xs:enumeration value="10" />
      <xs:enumeration value="11" />
      <xs:enumeration value="12" />
      <xs:enumeration value="13" />
      <xs:enumeration value="14" />
      <xs:enumeration value="15" />
      <xs:enumeration value="16" />
      <xs:enumeration value="18" />
      <xs:enumeration value="19" />
      <xs:enumeration value="2" />
      <xs:enumeration value="20" />
      <xs:enumeration value="21" />
      <xs:enumeration value="22" />
      <xs:enumeration value="23" />
      <xs:enumeration value="24" />
      <xs:enumeration value="25" />
      <xs:enumeration value="26" />
      <xs:enumeration value="27" />
      <xs:enumeration value="28" />
      <xs:enumeration value="3" />
      <xs:enumeration value="30" />
      <xs:enumeration value="31" />
      <xs:enumeration value="32" />
      <xs:enumeration value="34" />
      <xs:enumeration value="4" />
      <xs:enumeration value="5" />
      <xs:enumeration value="6" />
      <xs:enumeration value="7" />
      <xs:enumeration value="8" />
      <xs:enumeration value="9" />
      <xs:enumeration value="91" />
      <xs:enumeration value="92" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_N2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Additional Name Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_93_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_166_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_166_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N4">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Geographic Location" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_19_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="City Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="19" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_156_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="State or Province Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_116_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Postal Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="5" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_26_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Country Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_309_5" type="tns:X12_ID_309">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Location Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_310_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Location Identifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="25" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_309">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AC" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CL" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CY" />
      <xs:enumeration value="D" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="FA" />
      <xs:enumeration value="FE" />
      <xs:enumeration value="FI" />
      <xs:enumeration value="FV" />
      <xs:enumeration value="IM" />
      <xs:enumeration value="IP" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="NS" />
      <xs:enumeration value="OA" />
      <xs:enumeration value="OL" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="OR" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="RT" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TL" />
      <xs:enumeration value="TN" />
      <xs:enumeration value="TX" />
      <xs:enumeration value="W" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_REF_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_128_1" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_127_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PER_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_366_1" type="tns:X12_ID_366">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Contact Function Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_365_3" type="tns:X12_ID_365">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_364_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="7" />
              <xs:maxLength value="21" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_ITD">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Terms of Sale/Deferred Terms of Sale" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_336_1" type="tns:X12_ID_336">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_333_2" type="tns:X12_ID_333">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Basis Date Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_338_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_370_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Due Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_351_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Days Due" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_446_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Net Due Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_386_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Net Days" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_362_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_388_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Deferred Due Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_389_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Deferred Amount Due" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_342_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Percent of Invoice Payable" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_765_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Day of Month" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_336">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="03" />
      <xs:enumeration value="04" />
      <xs:enumeration value="05" />
      <xs:enumeration value="06" />
      <xs:enumeration value="07" />
      <xs:enumeration value="08" />
      <xs:enumeration value="09" />
      <xs:enumeration value="10" />
      <xs:enumeration value="11" />
      <xs:enumeration value="12" />
      <xs:enumeration value="13" />
      <xs:enumeration value="14" />
      <xs:enumeration value="16" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_333">
    <xs:restriction base="xs:string">
      <xs:enumeration value="1" />
      <xs:enumeration value="2" />
      <xs:enumeration value="3" />
      <xs:enumeration value="4" />
      <xs:enumeration value="5" />
      <xs:enumeration value="6" />
      <xs:enumeration value="7" />
      <xs:enumeration value="8" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_DTM">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Date/Time Reference" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_374_1" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_623_4" type="tns:X12_ID_623">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_623">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CD" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="ES" />
      <xs:enumeration value="ET" />
      <xs:enumeration value="GM" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="MD" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="MT" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="PT" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_FOB">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="F.O.B. Related Instructions" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_146_1" type="tns:X12_ID_146">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Shipment Method of Payment" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_309_2" type="tns:X12_ID_309">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Location Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_334_4" type="tns:X12_ID_334">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transportation Terms Qualifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_335_5" type="tns:X12_ID_335">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transportation Terms Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_309_6" type="tns:X12_ID_309">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Location Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_54_8" type="tns:X12_ID_54">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Risk of Loss Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_146">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CA" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CF" />
      <xs:enumeration value="DF" />
      <xs:enumeration value="FO" />
      <xs:enumeration value="HP" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="MX" />
      <xs:enumeration value="NC" />
      <xs:enumeration value="NR" />
      <xs:enumeration value="NS" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PU" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="TP" />
      <xs:enumeration value="WC" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_334">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_335">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CAF" />
      <xs:enumeration value="CIF" />
      <xs:enumeration value="DAF" />
      <xs:enumeration value="DDP" />
      <xs:enumeration value="EXQ" />
      <xs:enumeration value="EXS" />
      <xs:enumeration value="EXW" />
      <xs:enumeration value="FAS" />
      <xs:enumeration value="FCA" />
      <xs:enumeration value="FCI" />
      <xs:enumeration value="FCP" />
      <xs:enumeration value="FOB" />
      <xs:enumeration value="FOR" />
      <xs:enumeration value="FOT" />
      <xs:enumeration value="ZZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_54">
    <xs:restriction base="xs:string">
      <xs:enumeration value="BY" />
      <xs:enumeration value="FE" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_PID">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Product/Item Description" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_349_1" type="tns:X12_ID_349">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Type" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_750_2" type="tns:X12_ID_750">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Process Characteristic Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_348_3" type="tns:X12_ID_348">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_751_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product Description Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="12" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_752_6" type="tns:X12_ID_752">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Surface/Layer/Position Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_349">
    <xs:restriction base="xs:string">
      <xs:enumeration value="F" />
      <xs:enumeration value="S" />
      <xs:enumeration value="X" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_750">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="08" />
      <xs:enumeration value="09" />
      <xs:enumeration value="10" />
      <xs:enumeration value="11" />
      <xs:enumeration value="12" />
      <xs:enumeration value="13" />
      <xs:enumeration value="14" />
      <xs:enumeration value="15" />
      <xs:enumeration value="16" />
      <xs:enumeration value="17" />
      <xs:enumeration value="18" />
      <xs:enumeration value="19" />
      <xs:enumeration value="20" />
      <xs:enumeration value="21" />
      <xs:enumeration value="22" />
      <xs:enumeration value="23" />
      <xs:enumeration value="25" />
      <xs:enumeration value="28" />
      <xs:enumeration value="29" />
      <xs:enumeration value="30" />
      <xs:enumeration value="32" />
      <xs:enumeration value="33" />
      <xs:enumeration value="34" />
      <xs:enumeration value="35" />
      <xs:enumeration value="36" />
      <xs:enumeration value="37" />
      <xs:enumeration value="38" />
      <xs:enumeration value="39" />
      <xs:enumeration value="40" />
      <xs:enumeration value="41" />
      <xs:enumeration value="42" />
      <xs:enumeration value="43" />
      <xs:enumeration value="54" />
      <xs:enumeration value="55" />
      <xs:enumeration value="56" />
      <xs:enumeration value="58" />
      <xs:enumeration value="59" />
      <xs:enumeration value="60" />
      <xs:enumeration value="61" />
      <xs:enumeration value="62" />
      <xs:enumeration value="63" />
      <xs:enumeration value="64" />
      <xs:enumeration value="65" />
      <xs:enumeration value="66" />
      <xs:enumeration value="67" />
      <xs:enumeration value="68" />
      <xs:enumeration value="69" />
      <xs:enumeration value="70" />
      <xs:enumeration value="71" />
      <xs:enumeration value="72" />
      <xs:enumeration value="73" />
      <xs:enumeration value="74" />
      <xs:enumeration value="75" />
      <xs:enumeration value="76" />
      <xs:enumeration value="77" />
      <xs:enumeration value="78" />
      <xs:enumeration value="79" />
      <xs:enumeration value="99" />
      <xs:enumeration value="9A" />
      <xs:enumeration value="9B" />
      <xs:enumeration value="BC" />
      <xs:enumeration value="BW" />
      <xs:enumeration value="C2" />
      <xs:enumeration value="C3" />
      <xs:enumeration value="C4" />
      <xs:enumeration value="C5" />
      <xs:enumeration value="GD" />
      <xs:enumeration value="GM" />
      <xs:enumeration value="HB" />
      <xs:enumeration value="HZ" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="NH" />
      <xs:enumeration value="OD" />
      <xs:enumeration value="OT" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="RX" />
      <xs:enumeration value="TR" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_348">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AA" />
      <xs:enumeration value="AB" />
      <xs:enumeration value="AI" />
      <xs:enumeration value="AP" />
      <xs:enumeration value="AS" />
      <xs:enumeration value="BI" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="EI" />
      <xs:enumeration value="FA" />
      <xs:enumeration value="FD" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="NE" />
      <xs:enumeration value="NR" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="TI" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TX" />
      <xs:enumeration value="VI" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_752">
    <xs:restriction base="xs:string">
      <xs:enumeration value="1S" />
      <xs:enumeration value="2S" />
      <xs:enumeration value="BS" />
      <xs:enumeration value="BT" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="OA" />
      <xs:enumeration value="OS" />
      <xs:enumeration value="OT" />
      <xs:enumeration value="R0" />
      <xs:enumeration value="R1" />
      <xs:enumeration value="R2" />
      <xs:enumeration value="R3" />
      <xs:enumeration value="R4" />
      <xs:enumeration value="R5" />
      <xs:enumeration value="R6" />
      <xs:enumeration value="R7" />
      <xs:enumeration value="R8" />
      <xs:enumeration value="R9" />
      <xs:enumeration value="RA" />
      <xs:enumeration value="RB" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="RG" />
      <xs:enumeration value="RH" />
      <xs:enumeration value="RI" />
      <xs:enumeration value="RJ" />
      <xs:enumeration value="RK" />
      <xs:enumeration value="RL" />
      <xs:enumeration value="RM" />
      <xs:enumeration value="RN" />
      <xs:enumeration value="RO" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="RQ" />
      <xs:enumeration value="RR" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="RT" />
      <xs:enumeration value="RU" />
      <xs:enumeration value="RV" />
      <xs:enumeration value="RW" />
      <xs:enumeration value="RX" />
      <xs:enumeration value="RY" />
      <xs:enumeration value="RZ" />
      <xs:enumeration value="TP" />
      <xs:enumeration value="TS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_MEA">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Measurements" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_737_1" type="tns:X12_ID_737">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Reference ID Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_738_2" type="tns:X12_ID_738">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_739_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Value" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_4" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_740_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Range Minimum" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_741_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Range Maximum" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_935_7" type="tns:X12_ID_935">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Significance Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_936_8" type="tns:X12_ID_936">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Attribute Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_752_9" type="tns:X12_ID_752">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Surface/Layer/Position Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_737">
    <xs:restriction base="xs:string">
      <xs:enumeration value="9L" />
      <xs:enumeration value="AA" />
      <xs:enumeration value="AE" />
      <xs:enumeration value="BA" />
      <xs:enumeration value="BL" />
      <xs:enumeration value="BP" />
      <xs:enumeration value="BZ" />
      <xs:enumeration value="CH" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DT" />
      <xs:enumeration value="EA" />
      <xs:enumeration value="EE" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="LC" />
      <xs:enumeration value="LL" />
      <xs:enumeration value="LM" />
      <xs:enumeration value="P1" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="RL" />
      <xs:enumeration value="RN" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SH" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="TD" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TI" />
      <xs:enumeration value="TL" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="WT" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_738">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="AA" />
      <xs:enumeration value="AB" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AD" />
      <xs:enumeration value="AE" />
      <xs:enumeration value="AF" />
      <xs:enumeration value="AG" />
      <xs:enumeration value="AH" />
      <xs:enumeration value="AZ" />
      <xs:enumeration value="B" />
      <xs:enumeration value="BA" />
      <xs:enumeration value="BB" />
      <xs:enumeration value="BC" />
      <xs:enumeration value="BD" />
      <xs:enumeration value="BE" />
      <xs:enumeration value="BF" />
      <xs:enumeration value="BG" />
      <xs:enumeration value="BH" />
      <xs:enumeration value="BK" />
      <xs:enumeration value="BO" />
      <xs:enumeration value="BR" />
      <xs:enumeration value="BW" />
      <xs:enumeration value="C" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CB" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CF" />
      <xs:enumeration value="CG" />
      <xs:enumeration value="CH" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CJ" />
      <xs:enumeration value="CK" />
      <xs:enumeration value="CL" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CU" />
      <xs:enumeration value="CW" />
      <xs:enumeration value="D" />
      <xs:enumeration value="DA" />
      <xs:enumeration value="DB" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DD" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DF" />
      <xs:enumeration value="DG" />
      <xs:enumeration value="DH" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="DL" />
      <xs:enumeration value="DN" />
      <xs:enumeration value="DP" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="DT" />
      <xs:enumeration value="DU" />
      <xs:enumeration value="DW" />
      <xs:enumeration value="DY" />
      <xs:enumeration value="E" />
      <xs:enumeration value="EA" />
      <xs:enumeration value="EB" />
      <xs:enumeration value="EC" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="EE" />
      <xs:enumeration value="EF" />
      <xs:enumeration value="EG" />
      <xs:enumeration value="EH" />
      <xs:enumeration value="EL" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="EX" />
      <xs:enumeration value="F" />
      <xs:enumeration value="FA" />
      <xs:enumeration value="FB" />
      <xs:enumeration value="FC" />
      <xs:enumeration value="FD" />
      <xs:enumeration value="FE" />
      <xs:enumeration value="FF" />
      <xs:enumeration value="FH" />
      <xs:enumeration value="FI" />
      <xs:enumeration value="FL" />
      <xs:enumeration value="FN" />
      <xs:enumeration value="FP" />
      <xs:enumeration value="FR" />
      <xs:enumeration value="FT" />
      <xs:enumeration value="FV" />
      <xs:enumeration value="FW" />
      <xs:enumeration value="G" />
      <xs:enumeration value="GA" />
      <xs:enumeration value="GB" />
      <xs:enumeration value="GC" />
      <xs:enumeration value="GD" />
      <xs:enumeration value="GE" />
      <xs:enumeration value="GF" />
      <xs:enumeration value="GG" />
      <xs:enumeration value="GH" />
      <xs:enumeration value="GL" />
      <xs:enumeration value="GP" />
      <xs:enumeration value="GW" />
      <xs:enumeration value="HA" />
      <xs:enumeration value="HB" />
      <xs:enumeration value="HC" />
      <xs:enumeration value="HD" />
      <xs:enumeration value="HE" />
      <xs:enumeration value="HF" />
      <xs:enumeration value="HG" />
      <xs:enumeration value="HH" />
      <xs:enumeration value="HI" />
      <xs:enumeration value="HJ" />
      <xs:enumeration value="HM" />
      <xs:enumeration value="HP" />
      <xs:enumeration value="HR" />
      <xs:enumeration value="HT" />
      <xs:enumeration value="HZ" />
      <xs:enumeration value="IA" />
      <xs:enumeration value="IB" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="ID" />
      <xs:enumeration value="IE" />
      <xs:enumeration value="IF" />
      <xs:enumeration value="IG" />
      <xs:enumeration value="IH" />
      <xs:enumeration value="II" />
      <xs:enumeration value="IJ" />
      <xs:enumeration value="IK" />
      <xs:enumeration value="IL" />
      <xs:enumeration value="IM" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IO" />
      <xs:enumeration value="IP" />
      <xs:enumeration value="IQ" />
      <xs:enumeration value="IR" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="IU" />
      <xs:enumeration value="IV" />
      <xs:enumeration value="IW" />
      <xs:enumeration value="IX" />
      <xs:enumeration value="IZ" />
      <xs:enumeration value="JA" />
      <xs:enumeration value="KA" />
      <xs:enumeration value="KB" />
      <xs:enumeration value="L" />
      <xs:enumeration value="LA" />
      <xs:enumeration value="LB" />
      <xs:enumeration value="LC" />
      <xs:enumeration value="LD" />
      <xs:enumeration value="LE" />
      <xs:enumeration value="LF" />
      <xs:enumeration value="LG" />
      <xs:enumeration value="LL" />
      <xs:enumeration value="LM" />
      <xs:enumeration value="LN" />
      <xs:enumeration value="LO" />
      <xs:enumeration value="LP" />
      <xs:enumeration value="LS" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="LW" />
      <xs:enumeration value="M" />
      <xs:enumeration value="MA" />
      <xs:enumeration value="MB" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="MD" />
      <xs:enumeration value="ME" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="MG" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="MJ" />
      <xs:enumeration value="MK" />
      <xs:enumeration value="MN" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="MT" />
      <xs:enumeration value="MU" />
      <xs:enumeration value="MV" />
      <xs:enumeration value="MX" />
      <xs:enumeration value="N" />
      <xs:enumeration value="NA" />
      <xs:enumeration value="NB" />
      <xs:enumeration value="NC" />
      <xs:enumeration value="ND" />
      <xs:enumeration value="NE" />
      <xs:enumeration value="NF" />
      <xs:enumeration value="NG" />
      <xs:enumeration value="NH" />
      <xs:enumeration value="NI" />
      <xs:enumeration value="NJ" />
      <xs:enumeration value="NL" />
      <xs:enumeration value="NM" />
      <xs:enumeration value="NP" />
      <xs:enumeration value="NS" />
      <xs:enumeration value="NU" />
      <xs:enumeration value="O" />
      <xs:enumeration value="OA" />
      <xs:enumeration value="OB" />
      <xs:enumeration value="OC" />
      <xs:enumeration value="OD" />
      <xs:enumeration value="OE" />
      <xs:enumeration value="OF" />
      <xs:enumeration value="OG" />
      <xs:enumeration value="OH" />
      <xs:enumeration value="OI" />
      <xs:enumeration value="OJ" />
      <xs:enumeration value="OK" />
      <xs:enumeration value="OL" />
      <xs:enumeration value="OM" />
      <xs:enumeration value="ON" />
      <xs:enumeration value="OO" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="OQ" />
      <xs:enumeration value="OR" />
      <xs:enumeration value="OS" />
      <xs:enumeration value="OT" />
      <xs:enumeration value="OV" />
      <xs:enumeration value="OW" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PF" />
      <xs:enumeration value="PG" />
      <xs:enumeration value="PH" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PJ" />
      <xs:enumeration value="PK" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PN" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PQ" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="PSA" />
      <xs:enumeration value="PW" />
      <xs:enumeration value="PY" />
      <xs:enumeration value="PZ" />
      <xs:enumeration value="QA" />
      <xs:enumeration value="R" />
      <xs:enumeration value="RA" />
      <xs:enumeration value="RB" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="RG" />
      <xs:enumeration value="RH" />
      <xs:enumeration value="RI" />
      <xs:enumeration value="RJ" />
      <xs:enumeration value="RK" />
      <xs:enumeration value="RL" />
      <xs:enumeration value="RM" />
      <xs:enumeration value="RN" />
      <xs:enumeration value="RO" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="RQ" />
      <xs:enumeration value="RR" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="RU" />
      <xs:enumeration value="RV" />
      <xs:enumeration value="RW" />
      <xs:enumeration value="S" />
      <xs:enumeration value="S1" />
      <xs:enumeration value="S2" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="SB" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SF" />
      <xs:enumeration value="SG" />
      <xs:enumeration value="SH" />
      <xs:enumeration value="SI" />
      <xs:enumeration value="SJ" />
      <xs:enumeration value="SK" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SO" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="SQ" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="SV" />
      <xs:enumeration value="SW" />
      <xs:enumeration value="SX" />
      <xs:enumeration value="SY" />
      <xs:enumeration value="SZ" />
      <xs:enumeration value="T" />
      <xs:enumeration value="TA" />
      <xs:enumeration value="TB" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TD" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TF" />
      <xs:enumeration value="TG" />
      <xs:enumeration value="TH" />
      <xs:enumeration value="TI" />
      <xs:enumeration value="TJ" />
      <xs:enumeration value="TK" />
      <xs:enumeration value="TL" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TN" />
      <xs:enumeration value="TO" />
      <xs:enumeration value="TP" />
      <xs:enumeration value="TQ" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="TS" />
      <xs:enumeration value="TT" />
      <xs:enumeration value="TU" />
      <xs:enumeration value="TV" />
      <xs:enumeration value="TX" />
      <xs:enumeration value="TY" />
      <xs:enumeration value="U" />
      <xs:enumeration value="UA" />
      <xs:enumeration value="VH" />
      <xs:enumeration value="VW" />
      <xs:enumeration value="WA" />
      <xs:enumeration value="WB" />
      <xs:enumeration value="WC" />
      <xs:enumeration value="WD" />
      <xs:enumeration value="WE" />
      <xs:enumeration value="WF" />
      <xs:enumeration value="WL" />
      <xs:enumeration value="WM" />
      <xs:enumeration value="WT" />
      <xs:enumeration value="WU" />
      <xs:enumeration value="X" />
      <xs:enumeration value="XA" />
      <xs:enumeration value="XH" />
      <xs:enumeration value="XP" />
      <xs:enumeration value="XQ" />
      <xs:enumeration value="XZ" />
      <xs:enumeration value="YA" />
      <xs:enumeration value="YB" />
      <xs:enumeration value="YC" />
      <xs:enumeration value="ZA" />
      <xs:enumeration value="ZAL" />
      <xs:enumeration value="ZAS" />
      <xs:enumeration value="ZB" />
      <xs:enumeration value="ZBI" />
      <xs:enumeration value="ZC" />
      <xs:enumeration value="ZCA" />
      <xs:enumeration value="ZCB" />
      <xs:enumeration value="ZCE" />
      <xs:enumeration value="ZCO" />
      <xs:enumeration value="ZCR" />
      <xs:enumeration value="ZCU" />
      <xs:enumeration value="ZFE" />
      <xs:enumeration value="ZFS" />
      <xs:enumeration value="ZGE" />
      <xs:enumeration value="ZH" />
      <xs:enumeration value="ZMG" />
      <xs:enumeration value="ZMN" />
      <xs:enumeration value="ZMO" />
      <xs:enumeration value="ZN" />
      <xs:enumeration value="ZNB" />
      <xs:enumeration value="ZNI" />
      <xs:enumeration value="ZO" />
      <xs:enumeration value="ZP" />
      <xs:enumeration value="ZPB" />
      <xs:enumeration value="ZS" />
      <xs:enumeration value="ZSB" />
      <xs:enumeration value="ZSE" />
      <xs:enumeration value="ZSI" />
      <xs:enumeration value="ZSN" />
      <xs:enumeration value="ZTA" />
      <xs:enumeration value="ZTE" />
      <xs:enumeration value="ZTI" />
      <xs:enumeration value="ZV" />
      <xs:enumeration value="ZW" />
      <xs:enumeration value="ZZN" />
      <xs:enumeration value="ZZR" />
      <xs:enumeration value="ZZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_355">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="03" />
      <xs:enumeration value="04" />
      <xs:enumeration value="05" />
      <xs:enumeration value="08" />
      <xs:enumeration value="10" />
      <xs:enumeration value="11" />
      <xs:enumeration value="12" />
      <xs:enumeration value="13" />
      <xs:enumeration value="14" />
      <xs:enumeration value="15" />
      <xs:enumeration value="24" />
      <xs:enumeration value="26" />
      <xs:enumeration value="27" />
      <xs:enumeration value="31" />
      <xs:enumeration value="50" />
      <xs:enumeration value="51" />
      <xs:enumeration value="53" />
      <xs:enumeration value="54" />
      <xs:enumeration value="56" />
      <xs:enumeration value="58" />
      <xs:enumeration value="59" />
      <xs:enumeration value="60" />
      <xs:enumeration value="61" />
      <xs:enumeration value="62" />
      <xs:enumeration value="63" />
      <xs:enumeration value="64" />
      <xs:enumeration value="65" />
      <xs:enumeration value="66" />
      <xs:enumeration value="67" />
      <xs:enumeration value="68" />
      <xs:enumeration value="69" />
      <xs:enumeration value="70" />
      <xs:enumeration value="71" />
      <xs:enumeration value="72" />
      <xs:enumeration value="73" />
      <xs:enumeration value="74" />
      <xs:enumeration value="75" />
      <xs:enumeration value="76" />
      <xs:enumeration value="77" />
      <xs:enumeration value="78" />
      <xs:enumeration value="79" />
      <xs:enumeration value="80" />
      <xs:enumeration value="81" />
      <xs:enumeration value="82" />
      <xs:enumeration value="83" />
      <xs:enumeration value="84" />
      <xs:enumeration value="85" />
      <xs:enumeration value="86" />
      <xs:enumeration value="AA" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AM" />
      <xs:enumeration value="AP" />
      <xs:enumeration value="AS" />
      <xs:enumeration value="AY" />
      <xs:enumeration value="B1" />
      <xs:enumeration value="B2" />
      <xs:enumeration value="B3" />
      <xs:enumeration value="B4" />
      <xs:enumeration value="B5" />
      <xs:enumeration value="B6" />
      <xs:enumeration value="B7" />
      <xs:enumeration value="B8" />
      <xs:enumeration value="B9" />
      <xs:enumeration value="BA" />
      <xs:enumeration value="BB" />
      <xs:enumeration value="BC" />
      <xs:enumeration value="BD" />
      <xs:enumeration value="BE" />
      <xs:enumeration value="BF" />
      <xs:enumeration value="BG" />
      <xs:enumeration value="BH" />
      <xs:enumeration value="BI" />
      <xs:enumeration value="BJ" />
      <xs:enumeration value="BK" />
      <xs:enumeration value="BL" />
      <xs:enumeration value="BM" />
      <xs:enumeration value="BN" />
      <xs:enumeration value="BO" />
      <xs:enumeration value="BP" />
      <xs:enumeration value="BQ" />
      <xs:enumeration value="BR" />
      <xs:enumeration value="BS" />
      <xs:enumeration value="BT" />
      <xs:enumeration value="BU" />
      <xs:enumeration value="BV" />
      <xs:enumeration value="BW" />
      <xs:enumeration value="BX" />
      <xs:enumeration value="BY" />
      <xs:enumeration value="BZ" />
      <xs:enumeration value="C1" />
      <xs:enumeration value="C2" />
      <xs:enumeration value="C3" />
      <xs:enumeration value="C4" />
      <xs:enumeration value="C5" />
      <xs:enumeration value="C6" />
      <xs:enumeration value="C7" />
      <xs:enumeration value="C8" />
      <xs:enumeration value="C9" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CB" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CF" />
      <xs:enumeration value="CG" />
      <xs:enumeration value="CH" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CJ" />
      <xs:enumeration value="CK" />
      <xs:enumeration value="CL" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CQ" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="CU" />
      <xs:enumeration value="CV" />
      <xs:enumeration value="CW" />
      <xs:enumeration value="CX" />
      <xs:enumeration value="CY" />
      <xs:enumeration value="CZ" />
      <xs:enumeration value="DA" />
      <xs:enumeration value="DB" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DD" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DF" />
      <xs:enumeration value="DG" />
      <xs:enumeration value="DH" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="DJ" />
      <xs:enumeration value="DK" />
      <xs:enumeration value="DL" />
      <xs:enumeration value="DM" />
      <xs:enumeration value="DP" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="DT" />
      <xs:enumeration value="DZ" />
      <xs:enumeration value="E3" />
      <xs:enumeration value="E4" />
      <xs:enumeration value="E5" />
      <xs:enumeration value="E7" />
      <xs:enumeration value="E8" />
      <xs:enumeration value="E9" />
      <xs:enumeration value="EA" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="EF" />
      <xs:enumeration value="EM" />
      <xs:enumeration value="EP" />
      <xs:enumeration value="EV" />
      <xs:enumeration value="EX" />
      <xs:enumeration value="EY" />
      <xs:enumeration value="EZ" />
      <xs:enumeration value="FA" />
      <xs:enumeration value="FC" />
      <xs:enumeration value="FM" />
      <xs:enumeration value="FO" />
      <xs:enumeration value="FP" />
      <xs:enumeration value="FT" />
      <xs:enumeration value="GA" />
      <xs:enumeration value="GB" />
      <xs:enumeration value="GD" />
      <xs:enumeration value="GG" />
      <xs:enumeration value="GH" />
      <xs:enumeration value="GI" />
      <xs:enumeration value="GL" />
      <xs:enumeration value="GM" />
      <xs:enumeration value="GN" />
      <xs:enumeration value="GR" />
      <xs:enumeration value="GS" />
      <xs:enumeration value="GY" />
      <xs:enumeration value="GZ" />
      <xs:enumeration value="HA" />
      <xs:enumeration value="HB" />
      <xs:enumeration value="HC" />
      <xs:enumeration value="HD" />
      <xs:enumeration value="HE" />
      <xs:enumeration value="HF" />
      <xs:enumeration value="HG" />
      <xs:enumeration value="HH" />
      <xs:enumeration value="HI" />
      <xs:enumeration value="HJ" />
      <xs:enumeration value="HK" />
      <xs:enumeration value="HL" />
      <xs:enumeration value="HO" />
      <xs:enumeration value="HP" />
      <xs:enumeration value="HR" />
      <xs:enumeration value="HS" />
      <xs:enumeration value="HT" />
      <xs:enumeration value="HU" />
      <xs:enumeration value="HV" />
      <xs:enumeration value="HW" />
      <xs:enumeration value="HY" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="JB" />
      <xs:enumeration value="JO" />
      <xs:enumeration value="JR" />
      <xs:enumeration value="JU" />
      <xs:enumeration value="KA" />
      <xs:enumeration value="KD" />
      <xs:enumeration value="KE" />
      <xs:enumeration value="KG" />
      <xs:enumeration value="KH" />
      <xs:enumeration value="KI" />
      <xs:enumeration value="KK" />
      <xs:enumeration value="KL" />
      <xs:enumeration value="KM" />
      <xs:enumeration value="KN" />
      <xs:enumeration value="KT" />
      <xs:enumeration value="KV" />
      <xs:enumeration value="KW" />
      <xs:enumeration value="LA" />
      <xs:enumeration value="LB" />
      <xs:enumeration value="LC" />
      <xs:enumeration value="LE" />
      <xs:enumeration value="LF" />
      <xs:enumeration value="LG" />
      <xs:enumeration value="LH" />
      <xs:enumeration value="LI" />
      <xs:enumeration value="LJ" />
      <xs:enumeration value="LK" />
      <xs:enumeration value="LM" />
      <xs:enumeration value="LN" />
      <xs:enumeration value="LO" />
      <xs:enumeration value="LP" />
      <xs:enumeration value="LR" />
      <xs:enumeration value="LS" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="LY" />
      <xs:enumeration value="M1" />
      <xs:enumeration value="M2" />
      <xs:enumeration value="M3" />
      <xs:enumeration value="M4" />
      <xs:enumeration value="M6" />
      <xs:enumeration value="MA" />
      <xs:enumeration value="MB" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="ME" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="MG" />
      <xs:enumeration value="MH" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="MJ" />
      <xs:enumeration value="MK" />
      <xs:enumeration value="ML" />
      <xs:enumeration value="MM" />
      <xs:enumeration value="MN" />
      <xs:enumeration value="MO" />
      <xs:enumeration value="MP" />
      <xs:enumeration value="MQ" />
      <xs:enumeration value="MR" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="MT" />
      <xs:enumeration value="MU" />
      <xs:enumeration value="MV" />
      <xs:enumeration value="MW" />
      <xs:enumeration value="MX" />
      <xs:enumeration value="MY" />
      <xs:enumeration value="MZ" />
      <xs:enumeration value="NB" />
      <xs:enumeration value="NC" />
      <xs:enumeration value="ND" />
      <xs:enumeration value="NG" />
      <xs:enumeration value="NL" />
      <xs:enumeration value="NM" />
      <xs:enumeration value="NN" />
      <xs:enumeration value="NT" />
      <xs:enumeration value="NV" />
      <xs:enumeration value="ON" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="OT" />
      <xs:enumeration value="OZ" />
      <xs:enumeration value="P1" />
      <xs:enumeration value="P2" />
      <xs:enumeration value="P3" />
      <xs:enumeration value="P4" />
      <xs:enumeration value="P5" />
      <xs:enumeration value="P6" />
      <xs:enumeration value="P7" />
      <xs:enumeration value="P8" />
      <xs:enumeration value="P9" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PF" />
      <xs:enumeration value="PG" />
      <xs:enumeration value="PH" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PJ" />
      <xs:enumeration value="PK" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PN" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PQ" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="PU" />
      <xs:enumeration value="PV" />
      <xs:enumeration value="PW" />
      <xs:enumeration value="PX" />
      <xs:enumeration value="PY" />
      <xs:enumeration value="PZ" />
      <xs:enumeration value="Q1" />
      <xs:enumeration value="QD" />
      <xs:enumeration value="QR" />
      <xs:enumeration value="QS" />
      <xs:enumeration value="QT" />
      <xs:enumeration value="QU" />
      <xs:enumeration value="RA" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RG" />
      <xs:enumeration value="RK" />
      <xs:enumeration value="RL" />
      <xs:enumeration value="RM" />
      <xs:enumeration value="RN" />
      <xs:enumeration value="RO" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="RU" />
      <xs:enumeration value="S2" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="SB" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SF" />
      <xs:enumeration value="SG" />
      <xs:enumeration value="SH" />
      <xs:enumeration value="SI" />
      <xs:enumeration value="SJ" />
      <xs:enumeration value="SK" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SO" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="SQ" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="SV" />
      <xs:enumeration value="SW" />
      <xs:enumeration value="SX" />
      <xs:enumeration value="SY" />
      <xs:enumeration value="T1" />
      <xs:enumeration value="T2" />
      <xs:enumeration value="T3" />
      <xs:enumeration value="TA" />
      <xs:enumeration value="TB" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TD" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TF" />
      <xs:enumeration value="TG" />
      <xs:enumeration value="TH" />
      <xs:enumeration value="TI" />
      <xs:enumeration value="TJ" />
      <xs:enumeration value="TK" />
      <xs:enumeration value="TL" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TN" />
      <xs:enumeration value="TO" />
      <xs:enumeration value="TP" />
      <xs:enumeration value="TQ" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="TS" />
      <xs:enumeration value="TT" />
      <xs:enumeration value="TU" />
      <xs:enumeration value="TV" />
      <xs:enumeration value="TW" />
      <xs:enumeration value="TW" />
      <xs:enumeration value="TX" />
      <xs:enumeration value="TY" />
      <xs:enumeration value="TZ" />
      <xs:enumeration value="UN" />
      <xs:enumeration value="VI" />
      <xs:enumeration value="VT" />
      <xs:enumeration value="WB" />
      <xs:enumeration value="WE" />
      <xs:enumeration value="WG" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="WI" />
      <xs:enumeration value="WK" />
      <xs:enumeration value="WP" />
      <xs:enumeration value="WR" />
      <xs:enumeration value="WT" />
      <xs:enumeration value="YD" />
      <xs:enumeration value="YL" />
      <xs:enumeration value="YR" />
      <xs:enumeration value="YT" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_935">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="03" />
      <xs:enumeration value="04" />
      <xs:enumeration value="05" />
      <xs:enumeration value="06" />
      <xs:enumeration value="07" />
      <xs:enumeration value="08" />
      <xs:enumeration value="09" />
      <xs:enumeration value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_936">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="03" />
      <xs:enumeration value="04" />
      <xs:enumeration value="05" />
      <xs:enumeration value="06" />
      <xs:enumeration value="07" />
      <xs:enumeration value="08" />
      <xs:enumeration value="09" />
      <xs:enumeration value="10" />
      <xs:enumeration value="11" />
      <xs:enumeration value="12" />
      <xs:enumeration value="13" />
      <xs:enumeration value="14" />
      <xs:enumeration value="15" />
      <xs:enumeration value="16" />
      <xs:enumeration value="17" />
      <xs:enumeration value="18" />
      <xs:enumeration value="19" />
      <xs:enumeration value="20" />
      <xs:enumeration value="21" />
      <xs:enumeration value="22" />
      <xs:enumeration value="23" />
      <xs:enumeration value="24" />
      <xs:enumeration value="25" />
      <xs:enumeration value="26" />
      <xs:enumeration value="27" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_PWK">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Paperwork" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_755_1" type="tns:X12_ID_755">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Report Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_756_2" type="tns:X12_ID_756">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Report Transmission Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_757_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Report Copies Needed" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_98_4" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_66_5" type="tns:X12_ID_66">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_755">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="11" />
      <xs:enumeration value="12" />
      <xs:enumeration value="13" />
      <xs:enumeration value="14" />
      <xs:enumeration value="AA" />
      <xs:enumeration value="AD" />
      <xs:enumeration value="AO" />
      <xs:enumeration value="AP" />
      <xs:enumeration value="BL" />
      <xs:enumeration value="BT" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DD" />
      <xs:enumeration value="DM" />
      <xs:enumeration value="DN" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="EA" />
      <xs:enumeration value="FD" />
      <xs:enumeration value="FH" />
      <xs:enumeration value="IP" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="IV" />
      <xs:enumeration value="LC" />
      <xs:enumeration value="MA" />
      <xs:enumeration value="MB" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="MD" />
      <xs:enumeration value="MM" />
      <xs:enumeration value="MR" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="RF" />
      <xs:enumeration value="RT" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SI" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SQ" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="US" />
      <xs:enumeration value="VD" />
      <xs:enumeration value="VM" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_756">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AE" />
      <xs:enumeration value="AM" />
      <xs:enumeration value="BM" />
      <xs:enumeration value="BW" />
      <xs:enumeration value="EL" />
      <xs:enumeration value="IE" />
      <xs:enumeration value="IM" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="WS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_PKG">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Marking, Packaging, Loading" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_349_1" type="tns:X12_ID_349">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Type" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_753_2" type="tns:X12_ID_753">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Packaging Characteristic Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_348_3" type="tns:X12_ID_348">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_754_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Packaging Description Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="7" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_753">
    <xs:restriction base="xs:string">
      <xs:enumeration value="10" />
      <xs:enumeration value="11" />
      <xs:enumeration value="34" />
      <xs:enumeration value="35" />
      <xs:enumeration value="36" />
      <xs:enumeration value="37" />
      <xs:enumeration value="38" />
      <xs:enumeration value="39" />
      <xs:enumeration value="40" />
      <xs:enumeration value="42" />
      <xs:enumeration value="43" />
      <xs:enumeration value="44" />
      <xs:enumeration value="45" />
      <xs:enumeration value="60" />
      <xs:enumeration value="61" />
      <xs:enumeration value="62" />
      <xs:enumeration value="63" />
      <xs:enumeration value="65" />
      <xs:enumeration value="66" />
      <xs:enumeration value="67" />
      <xs:enumeration value="68" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_L7">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Tariff Reference" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_213_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Lading Line Item Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_168_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Agency Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_171_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="7" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_172_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Section" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_169_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Item Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="16" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_170_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Item Part" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_59_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Freight Class Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_173_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Supplement Identifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_46_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Ex Parte" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_37_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Effective Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_119_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Rate Basis Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_227_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Column" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_294_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Distance" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_295_14" type="tns:X12_ID_295">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Distance Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_19_15">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="City Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="19" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_156_16">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="State or Province Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_295">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="B" />
      <xs:enumeration value="D" />
      <xs:enumeration value="F" />
      <xs:enumeration value="K" />
      <xs:enumeration value="L" />
      <xs:enumeration value="M" />
      <xs:enumeration value="T" />
      <xs:enumeration value="X" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="G_IT1">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Loop for Baseline Item Data (Invoice)" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tns:S_IT1">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Baseline Item Data (Invoice)" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_CUR_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Currency" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="5" ref="tns:S_IT3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Additional Item Data" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_TXI">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="25" ref="tns:S_CTP">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Pricing Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1000" ref="tns:S_PID_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Product/Item Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="40" ref="tns:S_MEA_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Measurements" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="25" ref="tns:S_PWK_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Paperwork" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="25" ref="tns:S_PKG_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Marking, Packaging, Loading" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_PO4">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Item Physical Details" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="2" ref="tns:S_ITD_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Terms of Sale/Deferred Terms of Sale" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="9999" ref="tns:S_REF_3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="5" ref="tns:S_PER_3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="500" ref="tns:S_SDQ">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Destination Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_DTM_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Date/Time Reference" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="9999" ref="tns:S_CAD">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Carrier Detail" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="9999" ref="tns:S_L7_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Tariff Reference" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:G_ITA">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Loop for Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1000" ref="tns:G_SLN">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Loop for Subline Item Detail" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="200" ref="tns:G_N1_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Loop for Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_IT1">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Baseline Item Data (Invoice)" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_350_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Assigned Identification" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_358_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity Invoiced" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_355_3" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_212_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit Price" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="14" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_639_5" type="tns:X12_ID_639">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Basis of Unit Price Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_6" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_8" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_10" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_12" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_14" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_15">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_16" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_17">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_18" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_19">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_20" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_21">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_22" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_23">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_24" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_25">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_639">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AP" />
      <xs:enumeration value="BR" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="ES" />
      <xs:enumeration value="HF" />
      <xs:enumeration value="HP" />
      <xs:enumeration value="LC" />
      <xs:enumeration value="LD" />
      <xs:enumeration value="LE" />
      <xs:enumeration value="LM" />
      <xs:enumeration value="LR" />
      <xs:enumeration value="NC" />
      <xs:enumeration value="NE" />
      <xs:enumeration value="NQ" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="PY" />
      <xs:enumeration value="QE" />
      <xs:enumeration value="QH" />
      <xs:enumeration value="QR" />
      <xs:enumeration value="QS" />
      <xs:enumeration value="QT" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RE" />
      <xs:enumeration value="RM" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="RT" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="TB" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TD" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TF" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TP" />
      <xs:enumeration value="UM" />
      <xs:enumeration value="WC" />
      <xs:enumeration value="WD" />
      <xs:enumeration value="WE" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="WM" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_235">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AB" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AI" />
      <xs:enumeration value="AN" />
      <xs:enumeration value="AR" />
      <xs:enumeration value="AT" />
      <xs:enumeration value="B1" />
      <xs:enumeration value="B2" />
      <xs:enumeration value="B3" />
      <xs:enumeration value="B4" />
      <xs:enumeration value="B5" />
      <xs:enumeration value="B6" />
      <xs:enumeration value="B7" />
      <xs:enumeration value="BA" />
      <xs:enumeration value="BC" />
      <xs:enumeration value="BE" />
      <xs:enumeration value="BL" />
      <xs:enumeration value="BM" />
      <xs:enumeration value="BN" />
      <xs:enumeration value="BO" />
      <xs:enumeration value="BP" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CB" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CD" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CG" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CL" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CQ" />
      <xs:enumeration value="CR" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="CU" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DG" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="DL" />
      <xs:enumeration value="DN" />
      <xs:enumeration value="DP" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="EC" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="EQ" />
      <xs:enumeration value="FI" />
      <xs:enumeration value="FL" />
      <xs:enumeration value="FP" />
      <xs:enumeration value="FS" />
      <xs:enumeration value="GC" />
      <xs:enumeration value="GD" />
      <xs:enumeration value="GN" />
      <xs:enumeration value="GR" />
      <xs:enumeration value="GS" />
      <xs:enumeration value="HI" />
      <xs:enumeration value="HN" />
      <xs:enumeration value="IA" />
      <xs:enumeration value="IB" />
      <xs:enumeration value="IM" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="IZ" />
      <xs:enumeration value="JS" />
      <xs:enumeration value="KP" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="LU" />
      <xs:enumeration value="MA" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="MG" />
      <xs:enumeration value="MN" />
      <xs:enumeration value="MS" />
      <xs:enumeration value="MT" />
      <xs:enumeration value="NC" />
      <xs:enumeration value="ND" />
      <xs:enumeration value="NH" />
      <xs:enumeration value="NR" />
      <xs:enumeration value="OA" />
      <xs:enumeration value="OB" />
      <xs:enumeration value="OC" />
      <xs:enumeration value="OD" />
      <xs:enumeration value="OE" />
      <xs:enumeration value="OH" />
      <xs:enumeration value="ON" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="P1" />
      <xs:enumeration value="P2" />
      <xs:enumeration value="P3" />
      <xs:enumeration value="P4" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PG" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PJ" />
      <xs:enumeration value="PK" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PM" />
      <xs:enumeration value="PN" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="PW" />
      <xs:enumeration value="RC" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RK" />
      <xs:enumeration value="RN" />
      <xs:enumeration value="RO" />
      <xs:enumeration value="RP" />
      <xs:enumeration value="RR" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="RT" />
      <xs:enumeration value="RU" />
      <xs:enumeration value="RV" />
      <xs:enumeration value="RY" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SF" />
      <xs:enumeration value="SK" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SM" />
      <xs:enumeration value="SN" />
      <xs:enumeration value="SQ" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="SV" />
      <xs:enumeration value="SZ" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TM" />
      <xs:enumeration value="TP" />
      <xs:enumeration value="TY" />
      <xs:enumeration value="UA" />
      <xs:enumeration value="UB" />
      <xs:enumeration value="UC" />
      <xs:enumeration value="UD" />
      <xs:enumeration value="UE" />
      <xs:enumeration value="UI" />
      <xs:enumeration value="UM" />
      <xs:enumeration value="UN" />
      <xs:enumeration value="UP" />
      <xs:enumeration value="US" />
      <xs:enumeration value="UV" />
      <xs:enumeration value="VA" />
      <xs:enumeration value="VB" />
      <xs:enumeration value="VC" />
      <xs:enumeration value="VE" />
      <xs:enumeration value="VI" />
      <xs:enumeration value="VN" />
      <xs:enumeration value="VO" />
      <xs:enumeration value="VP" />
      <xs:enumeration value="VS" />
      <xs:enumeration value="VU" />
      <xs:enumeration value="VV" />
      <xs:enumeration value="VX" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_CUR_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Currency" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_98_1" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_100_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Currency Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_280_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Exchange Rate" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_98_4" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_100_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Currency Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_669_6" type="tns:X12_ID_669">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Currency Market/Exchange Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_7" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_10" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_13" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_14">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_15">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_16" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_17">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_18">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_374_19" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_20">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_21">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_IT3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Additional Item Data" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_382_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Number of Units Shipped" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_2" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_368_3" type="tns:X12_ID_368">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Shipment/Order Status Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_383_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity Difference" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_371_5" type="tns:X12_ID_371">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Change Reason Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_368">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AB" />
      <xs:enumeration value="AN" />
      <xs:enumeration value="AS" />
      <xs:enumeration value="AU" />
      <xs:enumeration value="AV" />
      <xs:enumeration value="BK" />
      <xs:enumeration value="BP" />
      <xs:enumeration value="BT" />
      <xs:enumeration value="BW" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CC" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CK" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="CP" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="DD" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DO" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="EC" />
      <xs:enumeration value="ED" />
      <xs:enumeration value="EW" />
      <xs:enumeration value="FS" />
      <xs:enumeration value="HQ" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IP" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="LM" />
      <xs:enumeration value="LS" />
      <xs:enumeration value="LW" />
      <xs:enumeration value="NF" />
      <xs:enumeration value="NN" />
      <xs:enumeration value="NS" />
      <xs:enumeration value="OB" />
      <xs:enumeration value="OF" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="OR" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PD" />
      <xs:enumeration value="PH" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="PK" />
      <xs:enumeration value="PN" />
      <xs:enumeration value="PO" />
      <xs:enumeration value="PP" />
      <xs:enumeration value="PR" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="RD" />
      <xs:enumeration value="RW" />
      <xs:enumeration value="SB" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SL" />
      <xs:enumeration value="SP" />
      <xs:enumeration value="SQ" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="UB" />
      <xs:enumeration value="UN" />
      <xs:enumeration value="UR" />
      <xs:enumeration value="WS" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_371">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AQ" />
      <xs:enumeration value="BB" />
      <xs:enumeration value="BD" />
      <xs:enumeration value="DC" />
      <xs:enumeration value="EV" />
      <xs:enumeration value="FE" />
      <xs:enumeration value="GU" />
      <xs:enumeration value="GW" />
      <xs:enumeration value="LD" />
      <xs:enumeration value="MC" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PQ" />
      <xs:enumeration value="PS" />
      <xs:enumeration value="QO" />
      <xs:enumeration value="QP" />
      <xs:enumeration value="QT" />
      <xs:enumeration value="SC" />
      <xs:enumeration value="UM" />
      <xs:enumeration value="UP" />
      <xs:enumeration value="WD" />
      <xs:enumeration value="WO" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_TXI">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_963_1" type="tns:X12_ID_963">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_782_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Monetary Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="15" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_954_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_955_4" type="tns:X12_ID_955">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_956_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_963">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CP" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="FT" />
      <xs:enumeration value="LS" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="MT" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="VA" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_955">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CD" />
      <xs:enumeration value="VD" />
      <xs:enumeration value="VE" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_CTP">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Pricing Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_687_1" type="tns:X12_ID_687">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Class of Trade Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_236_2" type="tns:X12_ID_236">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Price Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_212_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit Price" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="14" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_5" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_648_6" type="tns:X12_ID_648">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Price Multiplier Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_649_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Multiplier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_687">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AG" />
      <xs:enumeration value="BG" />
      <xs:enumeration value="BR" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CO" />
      <xs:enumeration value="DE" />
      <xs:enumeration value="DI" />
      <xs:enumeration value="EX" />
      <xs:enumeration value="GV" />
      <xs:enumeration value="ID" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="JB" />
      <xs:enumeration value="MF" />
      <xs:enumeration value="OE" />
      <xs:enumeration value="PF" />
      <xs:enumeration value="RS" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="TR" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="WS" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_236">
    <xs:restriction base="xs:string">
      <xs:enumeration value="ALT" />
      <xs:enumeration value="AWP" />
      <xs:enumeration value="CAT" />
      <xs:enumeration value="CDV" />
      <xs:enumeration value="CHG" />
      <xs:enumeration value="CON" />
      <xs:enumeration value="CUP" />
      <xs:enumeration value="CUS" />
      <xs:enumeration value="DAP" />
      <xs:enumeration value="DIS" />
      <xs:enumeration value="DPR" />
      <xs:enumeration value="DSC" />
      <xs:enumeration value="EUP" />
      <xs:enumeration value="FET" />
      <xs:enumeration value="FGP" />
      <xs:enumeration value="GOV" />
      <xs:enumeration value="ICL" />
      <xs:enumeration value="IND" />
      <xs:enumeration value="INS" />
      <xs:enumeration value="INV" />
      <xs:enumeration value="MAX" />
      <xs:enumeration value="MIN" />
      <xs:enumeration value="MNR" />
      <xs:enumeration value="MSR" />
      <xs:enumeration value="MXR" />
      <xs:enumeration value="NET" />
      <xs:enumeration value="PAQ" />
      <xs:enumeration value="PBQ" />
      <xs:enumeration value="PIE" />
      <xs:enumeration value="PPD" />
      <xs:enumeration value="PRF" />
      <xs:enumeration value="PRO" />
      <xs:enumeration value="PRP" />
      <xs:enumeration value="QTE" />
      <xs:enumeration value="RES" />
      <xs:enumeration value="SHD" />
      <xs:enumeration value="SPC" />
      <xs:enumeration value="SUM" />
      <xs:enumeration value="TOT" />
      <xs:enumeration value="TRF" />
      <xs:enumeration value="UCP" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_648">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CSD" />
      <xs:enumeration value="CSR" />
      <xs:enumeration value="DIS" />
      <xs:enumeration value="ILP" />
      <xs:enumeration value="PSP" />
      <xs:enumeration value="SEL" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_PID_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Product/Item Description" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_349_1" type="tns:X12_ID_349">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Type" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_750_2" type="tns:X12_ID_750">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Process Characteristic Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_348_3" type="tns:X12_ID_348">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_751_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product Description Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="12" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_752_6" type="tns:X12_ID_752">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Surface/Layer/Position Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_MEA_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Measurements" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_737_1" type="tns:X12_ID_737">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Reference ID Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_738_2" type="tns:X12_ID_738">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_739_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Value" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_4" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_740_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Range Minimum" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_741_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Range Maximum" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_935_7" type="tns:X12_ID_935">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Significance Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_936_8" type="tns:X12_ID_936">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Measurement Attribute Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_752_9" type="tns:X12_ID_752">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Surface/Layer/Position Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PWK_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Paperwork" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_755_1" type="tns:X12_ID_755">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Report Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_756_2" type="tns:X12_ID_756">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Report Transmission Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_757_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Report Copies Needed" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_98_4" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_66_5" type="tns:X12_ID_66">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PKG_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Marking, Packaging, Loading" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_349_1" type="tns:X12_ID_349">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Type" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_753_2" type="tns:X12_ID_753">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Packaging Characteristic Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_348_3" type="tns:X12_ID_348">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_754_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Packaging Description Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="7" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PO4">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Item Physical Details" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_356_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Pack" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_357_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Size" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_3" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_103_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Packaging Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_187_5" type="tns:X12_ID_187">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Weight Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_384_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Gross Weight per Pack" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_7" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_385_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Gross Volume per Pack" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_9" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_82_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Length" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_189_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Width" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_65_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Height" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_13" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_187">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="A1" />
      <xs:enumeration value="A2" />
      <xs:enumeration value="A3" />
      <xs:enumeration value="B" />
      <xs:enumeration value="C" />
      <xs:enumeration value="D" />
      <xs:enumeration value="DR" />
      <xs:enumeration value="E" />
      <xs:enumeration value="F" />
      <xs:enumeration value="G" />
      <xs:enumeration value="H" />
      <xs:enumeration value="I" />
      <xs:enumeration value="J" />
      <xs:enumeration value="K" />
      <xs:enumeration value="L" />
      <xs:enumeration value="M" />
      <xs:enumeration value="N" />
      <xs:enumeration value="O" />
      <xs:enumeration value="P" />
      <xs:enumeration value="Q" />
      <xs:enumeration value="R" />
      <xs:enumeration value="S" />
      <xs:enumeration value="T" />
      <xs:enumeration value="U" />
      <xs:enumeration value="V" />
      <xs:enumeration value="W" />
      <xs:enumeration value="X" />
      <xs:enumeration value="Y" />
      <xs:enumeration value="Z" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_ITD_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Terms of Sale/Deferred Terms of Sale" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_336_1" type="tns:X12_ID_336">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_333_2" type="tns:X12_ID_333">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Basis Date Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_338_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_370_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Due Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_351_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Days Due" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_446_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Net Due Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_386_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Net Days" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_362_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_388_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Deferred Due Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_389_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Deferred Amount Due" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_342_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Percent of Invoice Payable" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_765_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Day of Month" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_REF_3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_128_1" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_127_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PER_3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_366_1" type="tns:X12_ID_366">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Contact Function Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_365_3" type="tns:X12_ID_365">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_364_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="7" />
              <xs:maxLength value="21" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_SDQ">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Destination Quantity" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_355_1" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_66_2" type="tns:X12_ID_66">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_67_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_380_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_14">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_15">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_16">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_17">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_18">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_19">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_20">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_21">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_22">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_DTM_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Date/Time Reference" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_374_1" type="tns:X12_ID_374">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date/Time Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_373_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_337_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_623_4" type="tns:X12_ID_623">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Time Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_CAD">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Carrier Detail" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_91_1" type="tns:X12_ID_91">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transportation Method Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_206_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Equipment Initial" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_207_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Equipment Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_140_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Standard Carrier Alpha Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_387_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Routing" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_368_6" type="tns:X12_ID_368">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Shipment/Order Status Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_128_7" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_127_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_91">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AE" />
      <xs:enumeration value="B" />
      <xs:enumeration value="BP" />
      <xs:enumeration value="BU" />
      <xs:enumeration value="C" />
      <xs:enumeration value="CE" />
      <xs:enumeration value="D" />
      <xs:enumeration value="E" />
      <xs:enumeration value="G" />
      <xs:enumeration value="H" />
      <xs:enumeration value="I" />
      <xs:enumeration value="J" />
      <xs:enumeration value="K" />
      <xs:enumeration value="L" />
      <xs:enumeration value="LT" />
      <xs:enumeration value="M" />
      <xs:enumeration value="N" />
      <xs:enumeration value="O" />
      <xs:enumeration value="P" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="PT" />
      <xs:enumeration value="Q" />
      <xs:enumeration value="R" />
      <xs:enumeration value="S" />
      <xs:enumeration value="SE" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SS" />
      <xs:enumeration value="T" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="U" />
      <xs:enumeration value="VE" />
      <xs:enumeration value="W" />
      <xs:enumeration value="X" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_L7_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Tariff Reference" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_213_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Lading Line Item Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="3" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_168_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Agency Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_171_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="7" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_172_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Section" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_169_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Item Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="16" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_170_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Item Part" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_59_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Freight Class Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_173_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Supplement Identifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_46_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Ex Parte" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_37_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Effective Date" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="6" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_119_11">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Rate Basis Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_227_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Column" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_294_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tariff Distance" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="5" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_295_14" type="tns:X12_ID_295">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Distance Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_19_15">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="City Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="19" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_156_16">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="State or Province Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="G_ITA">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Loop for Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tns:S_ITA">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_TXI_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_ITA">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_248_1" type="tns:X12_ID_248">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Indicator" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_559_2" type="tns:X12_ID_559">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Association Qualifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_560_3" type="tns:X12_ID_560">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Special Services Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_331_4" type="tns:X12_ID_331">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Method of Handling Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_341_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="16" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_359_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Rate" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_360_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Total Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_378_8" type="tns:X12_ID_378">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance/ Charge Percent Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_332_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_339_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_11" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_150_14" type="tns:X12_ID_150">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Special Charge Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_248">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="C" />
      <xs:enumeration value="N" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_559">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AA" />
      <xs:enumeration value="AI" />
      <xs:enumeration value="AX" />
      <xs:enumeration value="BI" />
      <xs:enumeration value="CM" />
      <xs:enumeration value="EU" />
      <xs:enumeration value="GU" />
      <xs:enumeration value="NE" />
      <xs:enumeration value="NR" />
      <xs:enumeration value="OP" />
      <xs:enumeration value="PI" />
      <xs:enumeration value="ST" />
      <xs:enumeration value="TD" />
      <xs:enumeration value="TI" />
      <xs:enumeration value="VI" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_560">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A0010" />
      <xs:enumeration value="A0020" />
      <xs:enumeration value="A0030" />
      <xs:enumeration value="AC" />
      <xs:enumeration value="AF" />
      <xs:enumeration value="B0020" />
      <xs:enumeration value="B0040" />
      <xs:enumeration value="BH" />
      <xs:enumeration value="BI" />
      <xs:enumeration value="C0012" />
      <xs:enumeration value="C0032" />
      <xs:enumeration value="C0036" />
      <xs:enumeration value="C0038" />
      <xs:enumeration value="C1" />
      <xs:enumeration value="CA" />
      <xs:enumeration value="CH" />
      <xs:enumeration value="CI" />
      <xs:enumeration value="CN" />
      <xs:enumeration value="CS" />
      <xs:enumeration value="CT" />
      <xs:enumeration value="CU" />
      <xs:enumeration value="CZ" />
      <xs:enumeration value="D0020" />
      <xs:enumeration value="D0024" />
      <xs:enumeration value="D0031" />
      <xs:enumeration value="D1" />
      <xs:enumeration value="D2" />
      <xs:enumeration value="DL" />
      <xs:enumeration value="DS" />
      <xs:enumeration value="E0030" />
      <xs:enumeration value="EG" />
      <xs:enumeration value="EN" />
      <xs:enumeration value="EU" />
      <xs:enumeration value="F1" />
      <xs:enumeration value="FG" />
      <xs:enumeration value="FS" />
      <xs:enumeration value="G0010" />
      <xs:enumeration value="G0052" />
      <xs:enumeration value="GI" />
      <xs:enumeration value="GP" />
      <xs:enumeration value="GU" />
      <xs:enumeration value="H1" />
      <xs:enumeration value="HC" />
      <xs:enumeration value="HH" />
      <xs:enumeration value="HS" />
      <xs:enumeration value="I0012" />
      <xs:enumeration value="I0013" />
      <xs:enumeration value="I0021" />
      <xs:enumeration value="I0022" />
      <xs:enumeration value="IC" />
      <xs:enumeration value="ID" />
      <xs:enumeration value="IG" />
      <xs:enumeration value="IM" />
      <xs:enumeration value="IN" />
      <xs:enumeration value="IO" />
      <xs:enumeration value="IR" />
      <xs:enumeration value="IS" />
      <xs:enumeration value="IT" />
      <xs:enumeration value="KO" />
      <xs:enumeration value="L1" />
      <xs:enumeration value="LA" />
      <xs:enumeration value="M0010" />
      <xs:enumeration value="M0042" />
      <xs:enumeration value="MI" />
      <xs:enumeration value="ML" />
      <xs:enumeration value="N0020" />
      <xs:enumeration value="N0032" />
      <xs:enumeration value="NC" />
      <xs:enumeration value="OA" />
      <xs:enumeration value="P0012" />
      <xs:enumeration value="P0014" />
      <xs:enumeration value="P0016" />
      <xs:enumeration value="P0018" />
      <xs:enumeration value="P0022" />
      <xs:enumeration value="PA" />
      <xs:enumeration value="PB" />
      <xs:enumeration value="PC" />
      <xs:enumeration value="PE" />
      <xs:enumeration value="PF" />
      <xs:enumeration value="PL" />
      <xs:enumeration value="R0072" />
      <xs:enumeration value="R0076" />
      <xs:enumeration value="R0110" />
      <xs:enumeration value="S0014" />
      <xs:enumeration value="S0016" />
      <xs:enumeration value="S0022" />
      <xs:enumeration value="S0024" />
      <xs:enumeration value="S0050" />
      <xs:enumeration value="S0052" />
      <xs:enumeration value="S0054" />
      <xs:enumeration value="S0056" />
      <xs:enumeration value="S0080" />
      <xs:enumeration value="S1" />
      <xs:enumeration value="S2" />
      <xs:enumeration value="S3" />
      <xs:enumeration value="SD" />
      <xs:enumeration value="SG" />
      <xs:enumeration value="SH" />
      <xs:enumeration value="SJ" />
      <xs:enumeration value="SR" />
      <xs:enumeration value="SU" />
      <xs:enumeration value="SW" />
      <xs:enumeration value="T0070" />
      <xs:enumeration value="T1" />
      <xs:enumeration value="TC" />
      <xs:enumeration value="TE" />
      <xs:enumeration value="TO" />
      <xs:enumeration value="UN" />
      <xs:enumeration value="US" />
      <xs:enumeration value="V1" />
      <xs:enumeration value="V2" />
      <xs:enumeration value="W0010" />
      <xs:enumeration value="WH" />
      <xs:enumeration value="X0010" />
      <xs:enumeration value="XP" />
      <xs:enumeration value="YY" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_331">
    <xs:restriction base="xs:string">
      <xs:enumeration value="01" />
      <xs:enumeration value="02" />
      <xs:enumeration value="03" />
      <xs:enumeration value="04" />
      <xs:enumeration value="05" />
      <xs:enumeration value="06" />
      <xs:enumeration value="07" />
      <xs:enumeration value="08" />
      <xs:enumeration value="ZZ" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_378">
    <xs:restriction base="xs:string">
      <xs:enumeration value="1" />
      <xs:enumeration value="2" />
      <xs:enumeration value="3" />
      <xs:enumeration value="4" />
      <xs:enumeration value="5" />
      <xs:enumeration value="6" />
      <xs:enumeration value="7" />
      <xs:enumeration value="Z" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_150">
    <xs:restriction base="xs:string">
      <xs:enumeration value="005" />
      <xs:enumeration value="010" />
      <xs:enumeration value="015" />
      <xs:enumeration value="020" />
      <xs:enumeration value="025" />
      <xs:enumeration value="030" />
      <xs:enumeration value="035" />
      <xs:enumeration value="040" />
      <xs:enumeration value="045" />
      <xs:enumeration value="050" />
      <xs:enumeration value="055" />
      <xs:enumeration value="060" />
      <xs:enumeration value="065" />
      <xs:enumeration value="070" />
      <xs:enumeration value="075" />
      <xs:enumeration value="080" />
      <xs:enumeration value="085" />
      <xs:enumeration value="090" />
      <xs:enumeration value="095" />
      <xs:enumeration value="100" />
      <xs:enumeration value="105" />
      <xs:enumeration value="110" />
      <xs:enumeration value="115" />
      <xs:enumeration value="120" />
      <xs:enumeration value="130" />
      <xs:enumeration value="135" />
      <xs:enumeration value="140" />
      <xs:enumeration value="145" />
      <xs:enumeration value="150" />
      <xs:enumeration value="155" />
      <xs:enumeration value="160" />
      <xs:enumeration value="165" />
      <xs:enumeration value="170" />
      <xs:enumeration value="175" />
      <xs:enumeration value="180" />
      <xs:enumeration value="185" />
      <xs:enumeration value="186" />
      <xs:enumeration value="190" />
      <xs:enumeration value="205" />
      <xs:enumeration value="210" />
      <xs:enumeration value="215" />
      <xs:enumeration value="220" />
      <xs:enumeration value="225" />
      <xs:enumeration value="230" />
      <xs:enumeration value="235" />
      <xs:enumeration value="240" />
      <xs:enumeration value="245" />
      <xs:enumeration value="250" />
      <xs:enumeration value="255" />
      <xs:enumeration value="260" />
      <xs:enumeration value="265" />
      <xs:enumeration value="270" />
      <xs:enumeration value="275" />
      <xs:enumeration value="280" />
      <xs:enumeration value="285" />
      <xs:enumeration value="290" />
      <xs:enumeration value="295" />
      <xs:enumeration value="300" />
      <xs:enumeration value="310" />
      <xs:enumeration value="315" />
      <xs:enumeration value="320" />
      <xs:enumeration value="325" />
      <xs:enumeration value="330" />
      <xs:enumeration value="335" />
      <xs:enumeration value="340" />
      <xs:enumeration value="345" />
      <xs:enumeration value="350" />
      <xs:enumeration value="355" />
      <xs:enumeration value="360" />
      <xs:enumeration value="365" />
      <xs:enumeration value="370" />
      <xs:enumeration value="375" />
      <xs:enumeration value="380" />
      <xs:enumeration value="385" />
      <xs:enumeration value="390" />
      <xs:enumeration value="392" />
      <xs:enumeration value="393" />
      <xs:enumeration value="395" />
      <xs:enumeration value="400" />
      <xs:enumeration value="405" />
      <xs:enumeration value="410" />
      <xs:enumeration value="415" />
      <xs:enumeration value="416" />
      <xs:enumeration value="420" />
      <xs:enumeration value="425" />
      <xs:enumeration value="426" />
      <xs:enumeration value="430" />
      <xs:enumeration value="435" />
      <xs:enumeration value="440" />
      <xs:enumeration value="445" />
      <xs:enumeration value="450" />
      <xs:enumeration value="455" />
      <xs:enumeration value="460" />
      <xs:enumeration value="465" />
      <xs:enumeration value="470" />
      <xs:enumeration value="475" />
      <xs:enumeration value="480" />
      <xs:enumeration value="485" />
      <xs:enumeration value="490" />
      <xs:enumeration value="495" />
      <xs:enumeration value="500" />
      <xs:enumeration value="505" />
      <xs:enumeration value="510" />
      <xs:enumeration value="515" />
      <xs:enumeration value="520" />
      <xs:enumeration value="525" />
      <xs:enumeration value="535" />
      <xs:enumeration value="540" />
      <xs:enumeration value="545" />
      <xs:enumeration value="550" />
      <xs:enumeration value="555" />
      <xs:enumeration value="560" />
      <xs:enumeration value="565" />
      <xs:enumeration value="570" />
      <xs:enumeration value="580" />
      <xs:enumeration value="585" />
      <xs:enumeration value="586" />
      <xs:enumeration value="590" />
      <xs:enumeration value="595" />
      <xs:enumeration value="600" />
      <xs:enumeration value="605" />
      <xs:enumeration value="610" />
      <xs:enumeration value="615" />
      <xs:enumeration value="620" />
      <xs:enumeration value="625" />
      <xs:enumeration value="635" />
      <xs:enumeration value="640" />
      <xs:enumeration value="641" />
      <xs:enumeration value="645" />
      <xs:enumeration value="650" />
      <xs:enumeration value="665" />
      <xs:enumeration value="670" />
      <xs:enumeration value="675" />
      <xs:enumeration value="680" />
      <xs:enumeration value="685" />
      <xs:enumeration value="690" />
      <xs:enumeration value="695" />
      <xs:enumeration value="696" />
      <xs:enumeration value="697" />
      <xs:enumeration value="700" />
      <xs:enumeration value="705" />
      <xs:enumeration value="706" />
      <xs:enumeration value="720" />
      <xs:enumeration value="725" />
      <xs:enumeration value="730" />
      <xs:enumeration value="731" />
      <xs:enumeration value="732" />
      <xs:enumeration value="735" />
      <xs:enumeration value="736" />
      <xs:enumeration value="740" />
      <xs:enumeration value="745" />
      <xs:enumeration value="750" />
      <xs:enumeration value="755" />
      <xs:enumeration value="760" />
      <xs:enumeration value="761" />
      <xs:enumeration value="762" />
      <xs:enumeration value="999" />
      <xs:enumeration value="AAA" />
      <xs:enumeration value="AAJ" />
      <xs:enumeration value="AAM" />
      <xs:enumeration value="AAN" />
      <xs:enumeration value="AAO" />
      <xs:enumeration value="AAT" />
      <xs:enumeration value="ADH" />
      <xs:enumeration value="ADV" />
      <xs:enumeration value="AFB" />
      <xs:enumeration value="ALC" />
      <xs:enumeration value="ANS" />
      <xs:enumeration value="APT" />
      <xs:enumeration value="ARB" />
      <xs:enumeration value="ASC" />
      <xs:enumeration value="BAA" />
      <xs:enumeration value="BAB" />
      <xs:enumeration value="BAC" />
      <xs:enumeration value="BAD" />
      <xs:enumeration value="BAF" />
      <xs:enumeration value="BAP" />
      <xs:enumeration value="BAS" />
      <xs:enumeration value="BBK" />
      <xs:enumeration value="BDX" />
      <xs:enumeration value="BEY" />
      <xs:enumeration value="BFD" />
      <xs:enumeration value="BLA" />
      <xs:enumeration value="BLC" />
      <xs:enumeration value="BLD" />
      <xs:enumeration value="BLK" />
      <xs:enumeration value="BLW" />
      <xs:enumeration value="BND" />
      <xs:enumeration value="BOB" />
      <xs:enumeration value="BRA" />
      <xs:enumeration value="BRD" />
      <xs:enumeration value="CAA" />
      <xs:enumeration value="CAB" />
      <xs:enumeration value="CAC" />
      <xs:enumeration value="CAD" />
      <xs:enumeration value="CAE" />
      <xs:enumeration value="CAF" />
      <xs:enumeration value="CAG" />
      <xs:enumeration value="CAH" />
      <xs:enumeration value="CAJ" />
      <xs:enumeration value="CAK" />
      <xs:enumeration value="CAL" />
      <xs:enumeration value="CAO" />
      <xs:enumeration value="CAP" />
      <xs:enumeration value="CAQ" />
      <xs:enumeration value="CAR" />
      <xs:enumeration value="CAS" />
      <xs:enumeration value="CAT" />
      <xs:enumeration value="CAU" />
      <xs:enumeration value="CAV" />
      <xs:enumeration value="CAW" />
      <xs:enumeration value="CBO" />
      <xs:enumeration value="CBP" />
      <xs:enumeration value="CBR" />
      <xs:enumeration value="CBW" />
      <xs:enumeration value="CBX" />
      <xs:enumeration value="CCA" />
      <xs:enumeration value="CCH" />
      <xs:enumeration value="CDA" />
      <xs:enumeration value="CDF" />
      <xs:enumeration value="CER" />
      <xs:enumeration value="CGL" />
      <xs:enumeration value="CHG" />
      <xs:enumeration value="CHN" />
      <xs:enumeration value="CIR" />
      <xs:enumeration value="CLN" />
      <xs:enumeration value="CLS" />
      <xs:enumeration value="CMF" />
      <xs:enumeration value="CMI" />
      <xs:enumeration value="CMP" />
      <xs:enumeration value="CNS" />
      <xs:enumeration value="CNV" />
      <xs:enumeration value="COA" />
      <xs:enumeration value="COD" />
      <xs:enumeration value="COF" />
      <xs:enumeration value="COL" />
      <xs:enumeration value="COM" />
      <xs:enumeration value="CON" />
      <xs:enumeration value="COU" />
      <xs:enumeration value="CRA" />
      <xs:enumeration value="CRC" />
      <xs:enumeration value="CRF" />
      <xs:enumeration value="CSA" />
      <xs:enumeration value="CSC" />
      <xs:enumeration value="CSE" />
      <xs:enumeration value="CSF" />
      <xs:enumeration value="CSR" />
      <xs:enumeration value="CTA" />
      <xs:enumeration value="CTC" />
      <xs:enumeration value="CTF" />
      <xs:enumeration value="CTG" />
      <xs:enumeration value="CTL" />
      <xs:enumeration value="CUA" />
      <xs:enumeration value="CUD" />
      <xs:enumeration value="CUS" />
      <xs:enumeration value="DAA" />
      <xs:enumeration value="DAB" />
      <xs:enumeration value="DAC" />
      <xs:enumeration value="DAD" />
      <xs:enumeration value="DBD" />
      <xs:enumeration value="DCS" />
      <xs:enumeration value="DCT" />
      <xs:enumeration value="DDA" />
      <xs:enumeration value="DDC" />
      <xs:enumeration value="DDD" />
      <xs:enumeration value="DDF" />
      <xs:enumeration value="DEA" />
      <xs:enumeration value="DEL" />
      <xs:enumeration value="DEM" />
      <xs:enumeration value="DEP" />
      <xs:enumeration value="DER" />
      <xs:enumeration value="DES" />
      <xs:enumeration value="DET" />
      <xs:enumeration value="DFW" />
      <xs:enumeration value="DIS" />
      <xs:enumeration value="DIV" />
      <xs:enumeration value="DLH" />
      <xs:enumeration value="DMC" />
      <xs:enumeration value="DMD" />
      <xs:enumeration value="DOC" />
      <xs:enumeration value="DON" />
      <xs:enumeration value="DRC" />
      <xs:enumeration value="DRP" />
      <xs:enumeration value="DRY" />
      <xs:enumeration value="DSC" />
      <xs:enumeration value="DSF" />
      <xs:enumeration value="DST" />
      <xs:enumeration value="DTL" />
      <xs:enumeration value="DTU" />
      <xs:enumeration value="DWC" />
      <xs:enumeration value="EEA" />
      <xs:enumeration value="EEB" />
      <xs:enumeration value="EEC" />
      <xs:enumeration value="EED" />
      <xs:enumeration value="EEF" />
      <xs:enumeration value="EEG" />
      <xs:enumeration value="EEH" />
      <xs:enumeration value="EEP" />
      <xs:enumeration value="EEX" />
      <xs:enumeration value="EIC" />
      <xs:enumeration value="EMS" />
      <xs:enumeration value="ENC" />
      <xs:enumeration value="ENS" />
      <xs:enumeration value="EPC" />
      <xs:enumeration value="EPS" />
      <xs:enumeration value="ESC" />
      <xs:enumeration value="EUC" />
      <xs:enumeration value="EVC" />
      <xs:enumeration value="EXC" />
      <xs:enumeration value="EXL" />
      <xs:enumeration value="EXM" />
      <xs:enumeration value="EXP" />
      <xs:enumeration value="EXS" />
      <xs:enumeration value="FAB" />
      <xs:enumeration value="FAC" />
      <xs:enumeration value="FAD" />
      <xs:enumeration value="FAE" />
      <xs:enumeration value="FAF" />
      <xs:enumeration value="FAG" />
      <xs:enumeration value="FAH" />
      <xs:enumeration value="FBD" />
      <xs:enumeration value="FCB" />
      <xs:enumeration value="FCD" />
      <xs:enumeration value="FDL" />
      <xs:enumeration value="FFA" />
      <xs:enumeration value="FFC" />
      <xs:enumeration value="FFI" />
      <xs:enumeration value="FFL" />
      <xs:enumeration value="FFN" />
      <xs:enumeration value="FFP" />
      <xs:enumeration value="FFR" />
      <xs:enumeration value="FRC" />
      <xs:enumeration value="FUE" />
      <xs:enumeration value="FWA" />
      <xs:enumeration value="GAR" />
      <xs:enumeration value="GDR" />
      <xs:enumeration value="GGA" />
      <xs:enumeration value="GGF" />
      <xs:enumeration value="GRD" />
      <xs:enumeration value="HAN" />
      <xs:enumeration value="HAZ" />
      <xs:enumeration value="HDF" />
      <xs:enumeration value="HDG" />
      <xs:enumeration value="HET" />
      <xs:enumeration value="HHA" />
      <xs:enumeration value="HHB" />
      <xs:enumeration value="HHG" />
      <xs:enumeration value="HIC" />
      <xs:enumeration value="HOC" />
      <xs:enumeration value="HOL" />
      <xs:enumeration value="HOS" />
      <xs:enumeration value="HOX" />
      <xs:enumeration value="HUL" />
      <xs:enumeration value="HZS" />
      <xs:enumeration value="IAA" />
      <xs:enumeration value="IAB" />
      <xs:enumeration value="IAC" />
      <xs:enumeration value="IDL" />
      <xs:enumeration value="IIA" />
      <xs:enumeration value="IIP" />
      <xs:enumeration value="IIU" />
      <xs:enumeration value="INC" />
      <xs:enumeration value="INP" />
      <xs:enumeration value="INR" />
      <xs:enumeration value="INS" />
      <xs:enumeration value="IPC" />
      <xs:enumeration value="IPU" />
      <xs:enumeration value="IRA" />
      <xs:enumeration value="ISD" />
      <xs:enumeration value="ITC" />
      <xs:enumeration value="LAA" />
      <xs:enumeration value="LAB" />
      <xs:enumeration value="LAC" />
      <xs:enumeration value="LAD" />
      <xs:enumeration value="LAE" />
      <xs:enumeration value="LAY" />
      <xs:enumeration value="LCG" />
      <xs:enumeration value="LCR" />
      <xs:enumeration value="LDG" />
      <xs:enumeration value="LDS" />
      <xs:enumeration value="LFT" />
      <xs:enumeration value="LID" />
      <xs:enumeration value="LLC" />
      <xs:enumeration value="LLD" />
      <xs:enumeration value="LLF" />
      <xs:enumeration value="LLS" />
      <xs:enumeration value="LMC" />
      <xs:enumeration value="LNT" />
      <xs:enumeration value="LOA" />
      <xs:enumeration value="LOC" />
      <xs:enumeration value="LPC" />
      <xs:enumeration value="LSC" />
      <xs:enumeration value="LSH" />
      <xs:enumeration value="LTC" />
      <xs:enumeration value="LUP" />
      <xs:enumeration value="LUS" />
      <xs:enumeration value="MAA" />
      <xs:enumeration value="MAB" />
      <xs:enumeration value="MAC" />
      <xs:enumeration value="MAD" />
      <xs:enumeration value="MAE" />
      <xs:enumeration value="MAR" />
      <xs:enumeration value="MDM" />
      <xs:enumeration value="MES" />
      <xs:enumeration value="MFG" />
      <xs:enumeration value="MIL" />
      <xs:enumeration value="MIN" />
      <xs:enumeration value="MMC" />
      <xs:enumeration value="MMF" />
      <xs:enumeration value="MMS" />
      <xs:enumeration value="MMT" />
      <xs:enumeration value="MNC" />
      <xs:enumeration value="MRK" />
      <xs:enumeration value="MSC" />
      <xs:enumeration value="MSG" />
      <xs:enumeration value="MTR" />
      <xs:enumeration value="MVT" />
      <xs:enumeration value="NAA" />
      <xs:enumeration value="NAB" />
      <xs:enumeration value="NAL" />
      <xs:enumeration value="NFY" />
      <xs:enumeration value="NHB" />
      <xs:enumeration value="NSD" />
      <xs:enumeration value="NWD" />
      <xs:enumeration value="NYD" />
      <xs:enumeration value="NYP" />
      <xs:enumeration value="OAA" />
      <xs:enumeration value="OAB" />
      <xs:enumeration value="OAC" />
      <xs:enumeration value="ONC" />
      <xs:enumeration value="OOC" />
      <xs:enumeration value="OOF" />
      <xs:enumeration value="OPC" />
      <xs:enumeration value="ORM" />
      <xs:enumeration value="OSO" />
      <xs:enumeration value="OSS" />
      <xs:enumeration value="OUT" />
      <xs:enumeration value="OVR" />
      <xs:enumeration value="PAA" />
      <xs:enumeration value="PAB" />
      <xs:enumeration value="PAC" />
      <xs:enumeration value="PAD" />
      <xs:enumeration value="PAE" />
      <xs:enumeration value="PAF" />
      <xs:enumeration value="PAG" />
      <xs:enumeration value="PAH" />
      <xs:enumeration value="PAI" />
      <xs:enumeration value="PAJ" />
      <xs:enumeration value="PBA" />
      <xs:enumeration value="PBE" />
      <xs:enumeration value="PBL" />
      <xs:enumeration value="PCT" />
      <xs:enumeration value="PEN" />
      <xs:enumeration value="PER" />
      <xs:enumeration value="PIR" />
      <xs:enumeration value="PMU" />
      <xs:enumeration value="PMX" />
      <xs:enumeration value="POD" />
      <xs:enumeration value="POS" />
      <xs:enumeration value="PPC" />
      <xs:enumeration value="PPH" />
      <xs:enumeration value="PPI" />
      <xs:enumeration value="PPM" />
      <xs:enumeration value="PPN" />
      <xs:enumeration value="PPO" />
      <xs:enumeration value="PPR" />
      <xs:enumeration value="PPS" />
      <xs:enumeration value="PPT" />
      <xs:enumeration value="PRB" />
      <xs:enumeration value="PRC" />
      <xs:enumeration value="PRE" />
      <xs:enumeration value="PRM" />
      <xs:enumeration value="PRO" />
      <xs:enumeration value="PSC" />
      <xs:enumeration value="PSH" />
      <xs:enumeration value="PST" />
      <xs:enumeration value="PUC" />
      <xs:enumeration value="PUD" />
      <xs:enumeration value="PWH" />
      <xs:enumeration value="PWT" />
      <xs:enumeration value="QAA" />
      <xs:enumeration value="QQD" />
      <xs:enumeration value="RAA" />
      <xs:enumeration value="RAB" />
      <xs:enumeration value="RAC" />
      <xs:enumeration value="RAD" />
      <xs:enumeration value="RAE" />
      <xs:enumeration value="RAF" />
      <xs:enumeration value="RAG" />
      <xs:enumeration value="RAH" />
      <xs:enumeration value="RAI" />
      <xs:enumeration value="RAJ" />
      <xs:enumeration value="RAK" />
      <xs:enumeration value="RAL" />
      <xs:enumeration value="RAM" />
      <xs:enumeration value="RCA" />
      <xs:enumeration value="RCB" />
      <xs:enumeration value="RCE" />
      <xs:enumeration value="RCG" />
      <xs:enumeration value="RCL" />
      <xs:enumeration value="RCP" />
      <xs:enumeration value="RCS" />
      <xs:enumeration value="RDF" />
      <xs:enumeration value="REF" />
      <xs:enumeration value="REG" />
      <xs:enumeration value="REP" />
      <xs:enumeration value="REQ" />
      <xs:enumeration value="RES" />
      <xs:enumeration value="RET" />
      <xs:enumeration value="RGA" />
      <xs:enumeration value="RGC" />
      <xs:enumeration value="RID" />
      <xs:enumeration value="RLC" />
      <xs:enumeration value="RMD" />
      <xs:enumeration value="RPC" />
      <xs:enumeration value="RRC" />
      <xs:enumeration value="RRD" />
      <xs:enumeration value="RRF" />
      <xs:enumeration value="RRN" />
      <xs:enumeration value="RRP" />
      <xs:enumeration value="RRR" />
      <xs:enumeration value="RTC" />
      <xs:enumeration value="SAA" />
      <xs:enumeration value="SAB" />
      <xs:enumeration value="SAC" />
      <xs:enumeration value="SAD" />
      <xs:enumeration value="SAE" />
      <xs:enumeration value="SAF" />
      <xs:enumeration value="SAG" />
      <xs:enumeration value="SAH" />
      <xs:enumeration value="SAI" />
      <xs:enumeration value="SAJ" />
      <xs:enumeration value="SAK" />
      <xs:enumeration value="SAM" />
      <xs:enumeration value="SAN" />
      <xs:enumeration value="SAT" />
      <xs:enumeration value="SBC" />
      <xs:enumeration value="SCC" />
      <xs:enumeration value="SCG" />
      <xs:enumeration value="SCL" />
      <xs:enumeration value="SCU" />
      <xs:enumeration value="SDC" />
      <xs:enumeration value="SDL" />
      <xs:enumeration value="SEC" />
      <xs:enumeration value="SEG" />
      <xs:enumeration value="SEL" />
      <xs:enumeration value="SER" />
      <xs:enumeration value="SFT" />
      <xs:enumeration value="SGL" />
      <xs:enumeration value="SHL" />
      <xs:enumeration value="SLC" />
      <xs:enumeration value="SOC" />
      <xs:enumeration value="SPA" />
      <xs:enumeration value="SPB" />
      <xs:enumeration value="SPC" />
      <xs:enumeration value="SPD" />
      <xs:enumeration value="SPL" />
      <xs:enumeration value="SPS" />
      <xs:enumeration value="SPT" />
      <xs:enumeration value="SPU" />
      <xs:enumeration value="SRG" />
      <xs:enumeration value="SSA" />
      <xs:enumeration value="SSB" />
      <xs:enumeration value="SSC" />
      <xs:enumeration value="SSF" />
      <xs:enumeration value="SSL" />
      <xs:enumeration value="SSO" />
      <xs:enumeration value="SSP" />
      <xs:enumeration value="SSS" />
      <xs:enumeration value="SST" />
      <xs:enumeration value="SSX" />
      <xs:enumeration value="STF" />
      <xs:enumeration value="STM" />
      <xs:enumeration value="STP" />
      <xs:enumeration value="STR" />
      <xs:enumeration value="STW" />
      <xs:enumeration value="SUC" />
      <xs:enumeration value="SUF" />
      <xs:enumeration value="SUP" />
      <xs:enumeration value="SUR" />
      <xs:enumeration value="SVA" />
      <xs:enumeration value="SWC" />
      <xs:enumeration value="TAA" />
      <xs:enumeration value="TAB" />
      <xs:enumeration value="TAC" />
      <xs:enumeration value="TAD" />
      <xs:enumeration value="TAE" />
      <xs:enumeration value="TAF" />
      <xs:enumeration value="TAG" />
      <xs:enumeration value="TAH" />
      <xs:enumeration value="TAI" />
      <xs:enumeration value="TAJ" />
      <xs:enumeration value="TAK" />
      <xs:enumeration value="TAL" />
      <xs:enumeration value="TAX" />
      <xs:enumeration value="TAY" />
      <xs:enumeration value="TCM" />
      <xs:enumeration value="TDT" />
      <xs:enumeration value="TER" />
      <xs:enumeration value="TLC" />
      <xs:enumeration value="TOC" />
      <xs:enumeration value="TRC" />
      <xs:enumeration value="TRF" />
      <xs:enumeration value="TRN" />
      <xs:enumeration value="TRP" />
      <xs:enumeration value="TRU" />
      <xs:enumeration value="TSC" />
      <xs:enumeration value="TST" />
      <xs:enumeration value="TTA" />
      <xs:enumeration value="TTB" />
      <xs:enumeration value="TTD" />
      <xs:enumeration value="TTL" />
      <xs:enumeration value="TTM" />
      <xs:enumeration value="TTP" />
      <xs:enumeration value="TTR" />
      <xs:enumeration value="TTS" />
      <xs:enumeration value="TTT" />
      <xs:enumeration value="TTV" />
      <xs:enumeration value="TUR" />
      <xs:enumeration value="TWO" />
      <xs:enumeration value="UND" />
      <xs:enumeration value="UNL" />
      <xs:enumeration value="USF" />
      <xs:enumeration value="USV" />
      <xs:enumeration value="USW" />
      <xs:enumeration value="UTP" />
      <xs:enumeration value="UUC" />
      <xs:enumeration value="UUM" />
      <xs:enumeration value="UUT" />
      <xs:enumeration value="VAA" />
      <xs:enumeration value="VAB" />
      <xs:enumeration value="VCR" />
      <xs:enumeration value="VOR" />
      <xs:enumeration value="VVL" />
      <xs:enumeration value="VVP" />
      <xs:enumeration value="WAR" />
      <xs:enumeration value="WEA" />
      <xs:enumeration value="WFH" />
      <xs:enumeration value="WRC" />
      <xs:enumeration value="WRE" />
      <xs:enumeration value="WSA" />
      <xs:enumeration value="WTG" />
      <xs:enumeration value="WWC" />
      <xs:enumeration value="ZFF" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_TXI_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_963_1" type="tns:X12_ID_963">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_782_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Monetary Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="15" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_954_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_955_4" type="tns:X12_ID_955">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_956_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="G_SLN">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Loop for Subline Item Detail" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tns:S_SLN">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Subline Item Detail" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="9999" ref="tns:S_REF_4">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1000" ref="tns:S_PID_3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Product/Item Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_ITA_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_SLN">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Subline Item Detail" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_350_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Assigned Identification" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_350_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Assigned Identification" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_661_3" type="tns:X12_ID_661">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Configuration Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_380_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_355_5" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_212_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit Price" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="14" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_639_7" type="tns:X12_ID_639">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Basis of Unit Price Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_662_8" type="tns:X12_ID_662">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Subline Price Change Code ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_9" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_11" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_13" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_14">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_15" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_16">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_17" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_18">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_19" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_20">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_21" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_22">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_23" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_24">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_25" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_26">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_235_27" type="tns:X12_ID_235">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_234_28">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Service ID" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="X12_ID_661">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="D" />
      <xs:enumeration value="I" />
      <xs:enumeration value="S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="X12_ID_662">
    <xs:restriction base="xs:string">
      <xs:enumeration value="A" />
      <xs:enumeration value="D" />
      <xs:enumeration value="I" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="S_REF_4">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_128_1" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_127_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PID_3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Product/Item Description" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_349_1" type="tns:X12_ID_349">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Type" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_750_2" type="tns:X12_ID_750">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product/Process Characteristic Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_348_3" type="tns:X12_ID_348">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Item Description Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_751_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Product Description Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="12" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_752_6" type="tns:X12_ID_752">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Surface/Layer/Position Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_ITA_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_248_1" type="tns:X12_ID_248">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Indicator" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_559_2" type="tns:X12_ID_559">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Association Qualifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_560_3" type="tns:X12_ID_560">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Special Services Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_331_4" type="tns:X12_ID_331">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Method of Handling Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_341_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="16" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_359_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Rate" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_360_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Total Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_378_8" type="tns:X12_ID_378">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance/ Charge Percent Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_332_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_339_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_11" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_150_14" type="tns:X12_ID_150">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Special Charge Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="G_N1_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Loop for Name" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tns:S_N1_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="2" ref="tns:S_N2_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Additional Name Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="2" ref="tns:S_N3_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="tns:S_N4_2">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Geographic Location" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="12" ref="tns:S_REF_5">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="3" ref="tns:S_PER_4">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N1_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_98_1" type="tns:X12_ID_98">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Entity Identifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_66_3" type="tns:X12_ID_66">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_67_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Identification Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="17" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N2_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Additional Name Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_93_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N3_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_166_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_166_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Address Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_N4_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Geographic Location" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_19_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="City Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="19" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_156_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="State or Province Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_116_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Postal Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="5" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_26_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Country Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="2" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_309_5" type="tns:X12_ID_309">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Location Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_310_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Location Identifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="25" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_REF_5">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Reference Numbers" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_128_1" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_127_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_PER_4">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Administrative Communications Contact" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_366_1" type="tns:X12_ID_366">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Contact Function Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_93_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Name" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_365_3" type="tns:X12_ID_365">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_364_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Communication Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="7" />
              <xs:maxLength value="21" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_TDS">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Total Monetary Value Summary" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_361_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Total Invoice Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_390_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Amount Subject to Terms Discount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_391_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Discounted Amount Due" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_362_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Terms Discount Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_TXI_3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_963_1" type="tns:X12_ID_963">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_782_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Monetary Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="15" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_954_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_955_4" type="tns:X12_ID_955">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_956_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_CAD_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Carrier Detail" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_91_1" type="tns:X12_ID_91">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transportation Method Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_206_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Equipment Initial" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_207_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Equipment Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_140_4">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Standard Carrier Alpha Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="2" />
              <xs:maxLength value="4" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_387_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Routing" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="35" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_368_6" type="tns:X12_ID_368">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Shipment/Order Status Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_128_7" type="tns:X12_ID_128">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_127_8">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Reference Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="30" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="G_ITA_2">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Loop for Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tns:S_ITA_3">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="10" ref="tns:S_TXI_4">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_ITA_3">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Allowance, Charge or Service" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_248_1" type="tns:X12_ID_248">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Indicator" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_559_2" type="tns:X12_ID_559">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Association Qualifier Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_560_3" type="tns:X12_ID_560">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Special Services Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="D_331_4" type="tns:X12_ID_331">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Method of Handling Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_341_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="16" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_359_6">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Rate" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_360_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Total Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_378_8" type="tns:X12_ID_378">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance/ Charge Percent Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_332_9">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_339_10">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Allowance or Charge Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_11" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_380_12">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Quantity" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_13">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_150_14" type="tns:X12_ID_150">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Special Charge Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_TXI_4">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Tax Information" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_963_1" type="tns:X12_ID_963">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Type Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_782_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Monetary Amount" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="15" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_954_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Percent" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_955_4" type="tns:X12_ID_955">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code Qualifier" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_956_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Tax Jurisdiction Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_ISS">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Invoice Shipment Summary" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="D_382_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Number of Units Shipped" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_2" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_81_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Weight" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_4" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_183_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Volume" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_6" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_CTT">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Transaction Totals" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_354_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Number of Line Items" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="6" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_347_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Hash Total" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_81_3">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Weight" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_4" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_183_5">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Volume" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="8" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" name="D_355_6" type="tns:X12_ID_355">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Unit of Measurement Code" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="D_352_7">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Description" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="80" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="S_SE">
    <xs:annotation>
      <xs:appinfo>
        <b:recordInfo notes="Transaction Set Trailer" xmlns:b="www.edifabric.com/x12" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="D_96_1">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Number of Included Segments" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="1" />
              <xs:maxLength value="10" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="D_329_2">
          <xs:annotation>
            <xs:appinfo>
              <b:fieldInfo notes="Transaction Set Control Number" xmlns:b="www.edifabric.com/x12" />
            </xs:appinfo>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:minLength value="4" />
              <xs:maxLength value="9" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>